服务启动无法识别配置文件特殊符号
异常:
found character ‘@‘ that cannot start any token. (Do not use @ for indentation)
解决:pom.xml配置文件build标签中添加:
<resources>
<resource>
<directory>src/main/resources</directory>
<!--解决找不到@profile.name@-->
<filtering>true</filtering>
</resource>
</resources>