会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
甜菜波波
博客园
首页
新随笔
联系
订阅
管理
2018年4月3日
Spring Boot 如何在类中应用配置文件
摘要: 如何在类中应用配置文件 优先级: 当前目录子目录的/config > 当前目录 > classpath的/config包 > classpath的根目录 即:越靠近的优先级越高 **指定配置文件 @PropertySource 和 SpringApplication.setDefaultProper
阅读全文
posted @ 2018-04-03 17:28 甜菜波波
阅读(202)
评论(0)
推荐(0)
编辑
公告