1. When spring boot Configuration Annotation Proessor tips when not found in the classpath is used @ConfigurationProperties this comment, so problems in ConfigurationProperties comment.
The tips not found in classpath, queries about how to use this annotation to specify classpath, and then query location, spring boot1.5 above @ConfigurationProperties cancel location Notes
The official solution , introduced in the following dependency pom file
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>