Spring Boot学习笔记:(二)常规属性配置

非原创,转自https://blog.csdn.net/noaman_wgs/article/details/78897345 参考:http://tengj.top/2017/02/28/springboot2/  Spring Boot学习笔记:(二)常规属性配置 一、依赖注入 1 @Value Spring Boot中,可使用@PropertySource指明属性文件所在的位置(默认为app
相关文章
相关标签/搜索