Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to work in Intellij 13.0.2 #24

Closed
torstenwerner opened this issue Feb 10, 2014 · 5 comments
Closed

fails to work in Intellij 13.0.2 #24

torstenwerner opened this issue Feb 10, 2014 · 5 comments

Comments

@torstenwerner
Copy link

Hi,

I am getting the following stacktrace with most current Intellij and lombok plugin:

java: Can't initialize javac processor due to (most likely) a class loader problem: java.lang.NoClassDefFoundError: com/sun/tools/javac/code/TypeTags
at lombok.javac.Javac.(Javac.java:76)
at lombok.javac.handlers.HandleGetter.(HandleGetter.java:294)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:339)
at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
at lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:167)
at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:152)
at lombok.javac.JavacTransformer.(JavacTransformer.java:43)
at lombok.javac.apt.Processor.init(Processor.java:90)
at lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:89)
at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:143)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:500)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:597)

@torstenwerner
Copy link
Author

Good news! Upgrading Lombok from 0.11.8 to 1.12.4 helped. I will close the issue.

@KolyaIvankov
Copy link

It's 2017, I have Lombok 1.16.16 on IntelliJ 2017.5.2, and having the same issue while trying to make runtime compilation.

@krimsonkart
Copy link

I am also having the same problem. Please help.

@krimsonkart
Copy link

For idea 2017, here is what i did
Go to your module settings. In the dependencies section, you have lombok-1.6.16 and then there is also a mvn dependency on lombok. Delete the lombok dependency and keep the mvn dependency. This fixed it for me. Let me know if this works for you also.

@KolyaIvankov
Copy link

Err... sorry, now it works somehow and I've forgotten the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants