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
相關文章
相關標籤/搜索