Mybaits-puls项目启动时报错 Invalid bound statement (not found): com.xxx.mapper.xxx
原因:
项目启动时未找到mapper中的方法
解决办法:
在springboot或mybaits-puls的配置文件中加上:
mybatis-plus.mapperLocations=classpath:XXX/XXXX/mapper/**/*.xml
地址最终指向你的xml文件即可
Mybaits-puls项目启动时报错 Invalid bound statement (not found): com.xxx.mapper.xxx
原因:
项目启动时未找到mapper中的方法
解决办法:
在springboot或mybaits-puls的配置文件中加上:
mybatis-plus.mapperLocations=classpath:XXX/XXXX/mapper/**/*.xml
地址最终指向你的xml文件即可
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。