首页 > 数据库技术 > 详细

ibatis There is no statement named XXX in this SqlMap

时间:2014-03-26 18:23:58      阅读:514      评论:0      收藏:0      [点我收藏+]

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中引入就可以了

ibatis There is no statement named XXX in this SqlMap,布布扣,bubuko.com

ibatis There is no statement named XXX in this SqlMap

原文:http://jiangdf.blog.51cto.com/6425070/1384498

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!