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

lombok-maven-plugin plugin fails with java version >= 20 during delombok #1

Open
CodeWeazle opened this issue Nov 25, 2023 · 0 comments

Comments

@CodeWeazle
Copy link

We are using the lombok-maven-plugin (1.18.20.0) to generate java code during the build phase for the javadoc plugin.
When running the plugin with Java 20 or higher, it fails with

Unable to delombok: InvocationTargetException: java.lang.NoSuchFieldError Class com.sun.tools.javac.tree.JCTree$JCImport
does not have a member field 'com.sun.tools.javac.tree.JCTree qualid' -> [Help 1]

From the error message of the delombok phase I can get that the @builder annotation on one class failed to produce a builder.

Going back to Java 19 solves this issue for now, but it keeps up form upgrading our java to a higher version

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

1 participant