Reputation: 1195
I'm building a java project with IntelliJ IDEA 2018.1.5 (Community Edition) with the following errors:
However, if I build with ./gradlew build --x test
, it is OK. I've tried all methods here, but still no luck. Any suggestions?
Upvotes: 3
Views: 3420
Reputation: 2678
1 - Check if Anotation Processing is enable in both 'Settings' and 'Default Settings' windows.
2 - Check if Lombok Plugin is installed and updated.
3 - Remove ALL generated folders from your project (.idea, .gradle, gradle, build, out..)
4 - Rerun Gradle Build.
This worked for me today when the Idea build was working but the Gradle run kept giving me errors.
Upvotes: 1
Reputation: 1195
Turn on "Preference" | "Build, Execution, Deployment" | "Compiler" | "Annotation Processors" | "Enable annotation processing".
Upvotes: 2