mybatis Invalid bound statement (not found) 现象 1. 使用mybatis-plus + springboot 项目正常启动没有任何问题,接口也能够正常访问,但是测试用例就报这个错。 解决 1. xml 如果在 src 下,必须要在同一文件下。 2. 接口名称和xml 名称必须一致。