<!--指定配置文件的编译位置,这个是在pom文件中的<build>标签中设置的--> <resources> <resource> <directory>src/main/webapp</directory> <targetPath>META-INF/resources</targetPath> <includes> <include>*.*</include> </includes> </resource> <!--假使没有这个,我们打成的war包没有著配置文件--> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.*</include> </includes> </resource> </resources>
147-SpirngBoot指定编译那个文件的xml文件?
猜你喜欢
转载自www.cnblogs.com/pogusanqian/p/12757439.html
今日推荐
周排行