摘要: SpringApplication 将从以下位置加载 application.properties 文件,并把它们添加到Spring Environment 中:1. 当前目录下的 /config 子目录。2. 当前目录。3. classpath下的 /config 包。4. classpath根路 阅读全文
posted @ 2018-07-08 20:39 随风而逝,只是飘零 阅读(1929) 评论(0) 推荐(0) 编辑