资源导出失败的问题

在pom.xml文件中添加配置:

资源导出失败的问题
 1 <!-- 在build中配置resources,来防止我们资源导出失败的问题-->
 2     <build>
 3         <resources>
 4             <resource>
 5                 <directory>src/main/resources</directory>
 6                 <includes>
 7                     <include>**/*.properties</include>
 8                     <include>**/*.xml</include>
 9                 </includes>
10                 <filtering>true</filtering>
11             </resource>
12             <resource>
13                 <directory>src/main/java</directory>
14                 <includes>
15                     <include>**/*.properties</include>
16                     <include>**/*.xml</include>
17                 </includes>
18                 <filtering>true</filtering>
19             </resource>
20         </resources>
21     </build>
View Code

 

资源导出失败的问题

上一篇:pytest 测试环境框架搭建


下一篇:Tomcat部署及优化