-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags #1651
Comments
Same issue, but only with JDK10. |
Can you please submit the full stacktrace for lombok 1.16.20? |
@rspilker Same issue with JDK 10
|
Same issue on Gradle with JDK10
Version
|
here is a minimal gradle sample to reproduce |
The problem regarding TypeTags has already been fixed in the edge release. |
Regarding your the gradle comment, using this docker example and mounting lombok.jar from the edge release, I have no compiler errors. |
@rspilker Do you know when 1.16.21 will be released? |
Can someone confirm something? Does this issue affect projects that pull in a lombok-generated library (with a |
@stickfigure, added a test project for lombok( |
Same problem with JDK10. |
Never. But we plan to release 1.16.22 within a few hours :-) |
Just tested it with JDK10 and Gradle 4.7 and it works great!
together with:
unless #1611 will be somehow addressed Thank you @rspilker! |
I had same issue with JDK10 and Maven. Upgrade to 1.16.22 and changing scope resolves this problem. |
I'm seeing this issue with the following:
Issue goes away if I use gradle Here's a full stacktrace:
|
* lombok was almost never used. also gave me errors on 'mvn install' on ubuntu 20.04 projectlombok/lombok#1651 . unless there are plans to use it more extensively, maybe it is best to remove it, to clean up the dependencies and enable me (and maybe others) to build without errors. * fix Employee.java without lombok
After changed as follow, the issue resolved.
|
Thanks @eximius313, for this solution. |
I have following dependency in pom.xml:
When I run
mvn clean install
, I have following error:I tried to use java
1.8, 1.9, 1.10
. And I tried lombok1.6.10, 1.6.12, 1.6.20
. All of them have the same problem.The text was updated successfully, but these errors were encountered: