mybatis找不到mapper中的方法
解决方法:
1.在pom文件加上
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
2.在application.properties中添加
mybatis-plus.mapper-locations=classpath:com/*/*/mapper/xml/*.xml