摘要: 需求:使用Idea新建springboot工程,需要使用外部的配置文件, 整体的目录结构如下: Spring Boot启动会扫描以下位置的application.properties或者application.yml文件作为spring boot的默认配置文件-file:/config/-file: 阅读全文
posted @ 2021-06-11 11:48 凉城 阅读(1334) 评论(0) 推荐(0) 编辑