Invalid bound statement (not found)解决方法
遇到这种问题一般都是匹配不到具体的Mapper.xml文件
#配置mybatisplus
mybatis-plus:
mapper-locations: classpath:mapper/*Mapper.xml
这样只会扫描mapper包下面的Mapper.xml文件(红框内文件)
增加一句
#配置mybatisplus
mybatis-plus:
mapper-locations: classpath:mapper/*Mapper.xml, classpath:mapper/*/*Mapper.xml
这种的话在mapper包下面的包中的Mapper.xml文件就也会被扫描到。