springboot 加载自定义yml文件

1.  ConfigurationProperties注解的locations属性在1.5.X之后没有了,不能指定locations来加载yml文件html   2. PropertySource注解不支持yml文件加载,详细见官方文档: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-featu
相关文章
相关标签/搜索