天天看点

spring boot org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 解决

运行以前的一个项目,数据库使用的是mybatis plus ,它对mybatis 做了一些增强,所以在遇到标题的问题解决方法差不多。

其实问题异常信息已经说清楚了,其实接口和xml文件之间的问题,这篇博主很好的解释了这个问题

https://blog.csdn.net/sundacheng1989/article/details/81630370

我遇到的不是这个问题,我的是spring boot项目,后来我是通过指定xml文件位置解决的

指定扫描的包

spring boot org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 解决

指定xml文件

spring boot org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 解决

然后问题解决了

继续阅读