projectlombok / lombok

Very spicy additions to the Java programming language.
https://projectlombok.org/
Other
12.9k stars 2.39k forks source link

Lombok doesn't work on spring boot project running on Gradle 5.6.2 and JDK 11.0.4 #2238

Open pula2000 opened 5 years ago

pula2000 commented 5 years ago

When I run the command - gradle clean bootJar, I get the warning below - warning: lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not run during this compilation: java.lang.IllegalArgumentException: com.sun.tools.javac.api.ClientCodeWrapper$WrappedJavaFileManager extends java.lang.Object implements javax.tools.JavaFileManager and errors associated with the lombok annotations not having being processed. Would appreciate it if this was looked into?

MSBlastt commented 4 years ago

Temporary workaround is to downgrade to Lombok version 1.8.10

RSully commented 4 years ago

Same issue as https://github.com/rzwitserloot/lombok/issues/2171 ?