springboot总结

默认配置文件加载位置及顺序 springboot会加载以下位置的application.properties或application.yarm文件作为springboot作为默认配置: -file:/config/ -file:/ -classpath:/config/ -classpath:/ 以上路径优先级由高到低,高优先级的配置会覆盖低优先级的配置,springboot会从这四个位置全部加载
相关文章
相关标签/搜索