摘要: spring默认使用yml中的配置,但有时候要用传统的xml或properties配置,就需要使用spring-boot-configuration-processor了 先引入pom依赖 再在你的配置类开头加上@PropertySource("classpath:your.properties") 阅读全文
posted @ 2018-09-30 11:39 evasean 阅读(33532) 评论(0) 推荐(2) 编辑