Invalid bound statement (not found
Mybatis-plus报错 Invalid bound statement (not found):
一步一步检查
1.先用mybatisX插件检查小鸟是否能直接跳转到xml里的方法
2.检查是否配置了 mybatis-plus: mapper-locations: classpath:mapper/**/*.xml
3.关键一步
检查xml的目录路径 是否带点,带点就会有问题![在这里插入图片描述](https://img-blog.csdnimg.cn/9fd36fb52b6540c6bd3b5be0ab7551b9.png)
改成这种:mapper/目录/*.xml (mapper下建个文件或文件夹都可以)
即:目录要有上下级关系 ![在这里插入图片描述](https://img-blog.csdnimg.cn/dde2354bb63640ab9e6f1da51da62850.png)