Spring Boot1.4版本后@ConfigurationProperties注解舍弃location参数后的解决方式(2)

转自:http://412887952-qq-com.iteye.com/blog/2398717java 在录制Spring Boot自定义属性的时候,发现@ConfigurationProperties的locations已通过时了,以下代码:spa Java代码 : code @ConfigurationProperties(prefix="email",locations={"classp
相关文章
相关标签/搜索