Greetings, I had <spring-boot-configuration-proces...
# spring
i
Greetings, I had spring-boot-configuration-processor all working for
@ConfigurationProperties
data classes in my project with Kapt, Gradle, and IntelliJ. At some point along the line I started getting a red "Spring Boot Configuration Annotation Processor not configured" banner on my properties classes that wasn't there before. There's at least some association going on. If I add a property to 'application.properties' that's not in my
@ConfigurationProperties
class, I do get a "Cannot resolve configuration property" warning on that property. I've created a reproducer here: https://github.com/ianbrandt/spring-kapt I'm fairly certain there were no related changes to my project's configuration other than upgrades of Spring, Kapt, Gradle, and IntelliJ. I'm on the latest release versions of all of the above. Am I missing something that would cause the red IntelliJ banner to now appear where it hadn't before?
My project is set to "Build and run using Gradle" under "Settings > Build, Execution, Deployment > Build Tools > Gradle", and annotation processing is enabled under "Settings > Build, Execution, Deployment > Compiler > Annotation Processors".
Related YouTrack issue, though since I'm building and running with Gradle instead of IntelliJ I'm not sure whether it applies: https://youtrack.jetbrains.com/issue/KT-15040
It looks like an appropriate 'build/tmp/kapt3/classes/main/META-INF/spring-configuration-metadata.json' file is being generated.