question:Spring Boot Configuration Annotation Proessor not found in classpath
solution:
打开右上角链接,添加到 pom.xml,然后reimport后运行一下
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
question:not registered via @enableconfigurationproperties or marked as spring component
solution: 添加如下
@EnableConfigurationProperties(XX所在类名XX.class)