2019年6月20日

springboot application.properties文件加载顺序

摘要: 配置文件加载位置springboot 启动会扫描以下位置的application.properties或者application.yml文件作为Spring boot的默认配置文件 –file:./config/ –file:./ 指的是项目根目录 –classpath:/config/ –clas 阅读全文

posted @ 2019-06-20 15:49 happy刘艺 阅读(3566) 评论(0) 推荐(0) 编辑

导航