需要在pom.xml中打开过滤才可以
<build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> </build>
转载于:https://www.cnblogs.com/boris-et/p/11093016.html
标签:xml,Springboot,配置文件,yml,pom,properties From: https://www.cnblogs.com/hu-kang/p/17040505.html