application-context.xml
文件默认使用的配置为 application.properties
当需要引入其他配置文件时,需要使用
<context:property-placeholder location="classpath:bootstrap.yml"/>
参考链接:
Spring Boot 加载XML配置
深入Spring Boot: 那些注入不了的 Spring 占位符(${} 表达式)
springboot干货——(八)springboot引入外部xml配置文件
https://blog.csdn.net/VcStrong/article/details/81223627