mapper映射文件不发布
mapper映射文件不发布的问题:在pom.xml中配置,指定加载哪些资源
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> </resource> </resources>