<!--要放到dependencies标签外面-->
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
# 配置mapper.xml文件路径,以找到xml配置文件
mybatis-plus.mapper-locations= classpath:com/atguigu/eduservice/mapper/xml/*.xml
版权声明:本文为weixin_45448319原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。