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
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.
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
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'
For the impatient one (like myself) add
-Djps.track.ap.dependencies=false
to 'Shared build process VM options:'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With