您的位置:首页 > 博客中心 > 数据库 >

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

时间:2022-03-10 17:45

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

热门排行

今日推荐

热门手游