Unable to compile project in Intellij Idea 13 EAP / 12.1.5 due to using Lombok

When I tried to use Intellij Idea 13 EAP (which, as I know, is unstable), I could not compile / run the working project due to the following warning:

java: lombok.javac.apt.Processor could not be initialized. Lombok will not run during this compilation: java.lang.ClassCastException: com.sun.tools.javac.processing.JavacProcessingEnvironment cannot be cast to com.sun.tools.javac.processing.JavacProcessingEnvironment at lombok.javac.apt.Processor.init(Processor.java:84) at lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:89) at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:143) 

It works fine with Intellij Idea 12, but I need to run 13 due to another issue fixed only in 13 ( IDEA-104616 )

This error occurs:

com.sun.tools.javac.processing.JavacProcessingEnvironment cannot be attributed to com.sun.tools.javac.processing.JavacProcessingEnvironment

Update:

JetBrains Issue Created: IDEA-114130

+4
source share
1 answer

This is the Intellij IDEA issue: IDEA-114130

Fixed in assembly 132.474

Note: Reproducibility in Intellij IDEA 12.1.5; avoid updates (if using Lombok)!

UPDATE: FIxed version publicly released.

+4
source

All Articles