在 Spring Boot 程序中添加 @Configuration和@ConfigurationProperties(value = "ecm.dcc")注解时,会提示
spring boot configuration annotation processor not configured
解决办法是在 pom 文件中添加 spring-boot-configuration-processor 配置处理器依赖即可。
org.springframework.boot spring-boot-configuration-processor true



