Reputation: 1609
I Can see the following warning with @ConfigurationProperties Annotation
When using @ConfigurationProperties it is recommended to add 'spring-boot-configuration-processor' to your classpath to generate configuration metadata
Everything working fine. What it meant for?
Upvotes: 10
Views: 7014
Reputation: 2209
If you add an optional dependency to the “spring-boot-configuration-processor”, your module will hold a meta-data file that is generated at compile time with details about your properties. IDEs can then pick that up to show you content assist/auto-completion. STS, Intellij IDEA and Netbeans have such support .
It is an annotation processor that generates metadata about classes in your application that are annotated with @ConfigurationProperties
.
More info here: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#configuration-metadata
Upvotes: 6