mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxxx.
mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxxx.xxxx.dao.XxxxDao.getXxxxById
翻译过来就是:没有找到getXxxxById对应的mapper(mapper.xml)
解决:查看自己编译后启动的代码中有没有把这个mapper编译进来,没有的话,需要编译进来,编译不进来的话,可以暂时把这个mapper复制到编译后的项目中,稍后再来解决
原创
2020-09-06 13:47:29 ·
118 阅读 ·
0 评论