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

Missing Lombok dependency in Maven configuration #59

Open
1plam opened this issue Apr 7, 2024 · 0 comments
Open

Missing Lombok dependency in Maven configuration #59

1plam opened this issue Apr 7, 2024 · 0 comments

Comments

@1plam
Copy link

1plam commented Apr 7, 2024

Problem

The current documentation recommends using Lombok but doesn't specify the required dependency. While the documentation mentions using Lombok, it doesn't explicitly include the dependency itself, which personally brought an error:

java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

Example Dependency

Since an automatic dependency detection wasn't successful, I was required to search manually for the newest version and include it in the pom.xml file.

As a proposal, add the Lombok dependency to the Maven configuration file:

pom.xml

<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
    <version>1.18.32</version>
</dependency>
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