mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxxx.xxxx.dao.XxxxDao.getXxxxById
翻译过来就是:没有找到getXxxxById对应的mapper(mapper.xml)
解决:查看自己编译后启动的代码中有没有把这个mapper编译进来,没有的话,需要编译进来,编译不进来的话,可以暂时把这个mapper复制到编译后的项目中,稍后再来解决这个mapper编译问题。
mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxxx.
最新推荐文章于 2024-05-28 12:01:22 发布