1. 使用mybatis-plus + springboot 项目正常启动没有任何问题,接口也能够正常访问,但是测试用例就报这个错。
1. xml 如果在 src 下,必须要在mapper 文件夹下,不能定义其他名称。
2. 接口名称和xml 名称必须一致。
mybatis Invalid bound statement (not found)
原文:https://www.cnblogs.com/chengyangyang/p/13396259.html