SpringBoot系列——加載自定義配置文件

 前言   SpringBoot啓動時默認加載bootstrap.properties或bootstrap.yml(這兩個優先級最高)、application.properties或application.yml,如果我們配置了spring.profiles,同時會加載對應的application-{profile}.properties或application-{profile}.yml,pro
相關文章
相關標籤/搜索