java: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled
After upgrade, Unable to run the application from intellij IDE.
Intellij version : IntelliJ IDEA 2020.3 (Community Edition) Build #IC-203.5981.155, built on December 1, 2020
lombok version : 0.32-EAP
Error :
java: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.
Your processor is: com.sun.proxy.$Proxy24
Lombok supports: sun/apple javac 1.6, ECJ
Solution 1:
Using lombok 1.18.16 did not work for me. I added the argument below in the build process VM options in
-Djps.track.ap.dependencies=false
Setting:-
Build, Execution, Deployment -> Compiler -> Shared build process VM options
and it worked https://github.com/rzwitserloot/lombok/issues/2592
Solution 2:
This issue is introduced in IntelliJ IDEA 2020.3 (Community Edition) Build #IC-203.5981.155.
You can fix it by adding this dependency into your project -
Maven -
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.16</version>
<scope>provided</scope>
</dependency>
Gradle -
providedCompile group: 'org.projectlombok', name: 'lombok', version: '1.18.16'
Solution 3:
For the impatient one (like myself) add
-Djps.track.ap.dependencies=false
to 'Shared build process VM options:'
Solution 4:
I had the same issue here after updating my Intellij Community to 20.3. The issue could be solved by updating the lombok plugin to 1.18.16
Solution 5:
Intellij CE Version: 2020.3 Lombok issue fixed by simply updating POM dependency. Example,
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.16</version>
</dependency>