没有添加这一项在编译后的.class文件中的结构目录是这样子的
添加上这一个配置项,在class配置文件中的位置是这样子的:
添加的配置文件是这样子的:
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> <resource> <directory>src/main/resource</directory> <includes> <include>**/*.*</include> </includes> </resource> <resource> <directory>src/main/webapp</directory> <targetPath>MFTA-INF/resources</targetPath> <includes> <include>**/*.*</include> </includes> </resource> </resources>
原文地址:https://www.cnblogs.com/qingmuchuanqi48/p/11966206.html
时间: 2024-11-11 09:42:17