在pom文件的 build标签中加入以下配置就可以了。
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources>
在pom文件的 build标签中加入以下配置就可以了。
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources>
转载于:https://my.oschina.net/u/1411360/blog/1359343