mybatis-plus遇坑
mybatis-plus(简称MP)是一个 Mybatis 的增强工具,在 Mybatis 的基础上只做增强不做改变,为简化开发、提高效率而生。整合使用可以找找我其它的博客org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)突然出现了一个这个错误1看看mybatis 的xml文件放的路径有没有
·
mybatis-plus
(简称MP)是一个 Mybatis 的增强工具,在 Mybatis 的基础上只做增强不做改变,为简化开发、提高效率而生。
整合使用可以找找我其它的博客
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
突然出现了一个这个错误
1.看看mybatis 的xml文件放的路径有没有对


2.看看是不是以mybatis的形式配置了mybatis-plus
首先想到 mybatis配置大概是这样的
mybatis:
mapper-locations: classpath:mapping/*.xml
那mybatis-plus是
mybatis-plus:
mapper-locations: classpath:mapping/*.xml
3.再看看是不是方法名字出错了
![]()
![]()
4.再看看
![]()
影射的类路径是否访问的到
大概就这个几个地方
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐

所有评论(0)