there is no statement named in this sqlmap

场景:ibatis There is no statement named XXX in this SqlMap

ibatis There is no statement named XXX in this SqlMap.
实体映射文件未加入到sqlMap-Config.xml文件中。
原因是:框架只读取sqlMap-Config.xml文件,对新建的sqlMap引入文件即使注入bean也不予理睬。将引入文件加入sqlMap-Config.xml就可以解决问题。
把用到xml文件加到sqlMap-Config.xml中引入就可以了

黑色头发:http://heisetoufa.iteye.com/
1 楼 zzg16 2012-02-06  
there is no statement named in this sqlmap   谢谢