SpringBoot学习:获取yml和properties配置文件的内容

(一)xml配置文件:java pom.xml加入依赖:spring <!-- 支持 @ConfigurationProperties 注解 --> <!--(官网:www.fhadmin.org) https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-configuration-processor -->
相关文章
相关标签/搜索