原因是
<!-- 根据main下的detail图片新闻列表 detail -->
<select id="findDetailLists" parameterClass="java.util.Map"
resultClass="java.util.HashMap">
select t.* from T_IMGNEWS_DETAILS t where t.IMGNEWS_ID =#IMGNEWS_ID#
<isNotEmpty property="IMGNEWS_DESC" prepend="and">
T.IMGNEWS_DESC like '%$IMGNEWS_DESC#$%'
</isNotEmpty>
order by t.IMG_ID desc
</select>
粗体字部分多了一个#。
提示信息提示另外一个包的sqlmap有错误。ibatis的错误提示还有待提高!