I try to make completion for custom properties in Spring Boot.
I tried to create a simple project via IntelliJ IDEA 2016.3:
For those who are using maven, Intellij was still not happy with the addition of dependency. Seems like adding annotationProcessorPaths
via maven-compiler-plugin
finally tamed the beast.
Make sure the version
matches your spring dependencies. I suspect it would be already present in your effective POM.
Reason: I was using a custom parent-pom which had a mapstruct annotation processor set in annotationProcessorPaths
and that actually triggered IntelliJ to ask for all other annotation processors to be specified manually as well.
org.apache.maven.plugins
maven-compiler-plugin
org.springframework.boot
spring-boot-configuration-processor
2.0.4.RELEASE