解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap

时间:2014-06-26 08:18:55   收藏:0   阅读:10758
com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap.

可能存在3种情况:
1、在xxx.xml文件中有两个标签的id命名相同;
2、DAO实现类方法中没有写对应xxx.xml的id名称;

3、实体映射文件xxx.xml未加入到sqlMap-Config.xml文件中。


解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap,布布扣,bubuko.com

原文:http://blog.csdn.net/qianquan003/article/details/34423455

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!