-
检查xml文件所在package名称是否和Mapper interface所在的包名
-
UserDao的方法在UserDao.xml中没有,然后执行UserDao的方法
-
UserDao的方法返回值是List,而select元素没有正确配置ResultMap,或者只配置ResultType。
-
如果你确认没有以上问题,请任意修改下对应的xml文件,比如删除一个空行,保存.问题解决
-
看下mapper的XML配置路径是否正确
-
resultType/parameterType与resultMap/parameterMap写混了
相关文章
- 11-26Invalid bound statement (not found): com.my.demo.mapper.UserMapper.getAll
- 11-26mybatis-plus Invalid bound statement (not found) 问题
- 11-26Idea整合mybatis时出现org.apache.ibatis.binding.BindingException Invalid bound statement (not found)
- 11-26解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): 报错
- 11-26Invalid bound statement (not found):
- 11-26Invalid bound statement (not found)
- 11-26关于Mybatis-plus报错Invalid bound statement (not found):com.xxx.xxx.xxxMapper.selectList
- 11-26解决 Invalid bound statement: com.luwebsite.online.modules.business.service.ArtcleCousemer.getById问题
- 11-26org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.my.system.mappe
- 11-26mybatis出现Invalid bound statement (not found)