mybatis_6_解决mapper文件路径问题
作者:互联网
解决mapper文件路径问题
在pom.xml文件中配置resource
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources> <build>
标签:xml,mapper,resource,文件,路径,pom,mybatis 来源: https://www.cnblogs.com/woniu123/p/16589244.html