【spring boot】启动原理之配置文件加载

boot启动的时候,会通过监听,寻找classpath下 application-xxx开头的,默认入口文件需要在application.yml/properties文文件中 spring.profiles.active中配置

详细加载过程,参照:

https://blog.csdn.net/chengkui1990/article/details/79866499

posted @ 2020-01-22 10:11  虹梦未来  阅读(5)  评论(0)    收藏  举报  来源