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
source share