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?
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?
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.
.ideadirectory and reimport the project from Gradle. If the issue persists, report a bug at youtrack.jetbrains.com/issues/IDEA with the idea.log and the sample project to reproduce.