首页 > Web开发 > 详细

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

时间:2020-05-15 16:46:45      阅读:72      评论:0      收藏:0      [点我收藏+]

springboot新增表,执行查询时报错

2020-05-15 16:17:22,781 ERROR o.a.j.l.DirectJDKLog [http-nio-8085-exec-6] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.**.mapper.BedMapper.findByPage] with root cause
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.**.mapper.BedMapper.findByPage

 排查后发现是xml文件的namespace的路径错误,因为是其他地方生成复制过来的,此处忘记改了

<mapper namespace="com.**.mapper.BedMapper">

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

原文:https://www.cnblogs.com/tong2018/p/12895666.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!