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

class not accessible #55

Open
xLixon opened this issue Jun 26, 2022 · 2 comments
Open

class not accessible #55

xLixon opened this issue Jun 26, 2022 · 2 comments

Comments

@xLixon
Copy link

xLixon commented Jun 26, 2022

If i want to compile with "mvn clean package", this error drops:

class lombok.javac.apt.LombokProcessor (in unnamed module @0x69feb4d9) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x69feb4d9

@AntonyLeons
Copy link

The error message happens because java 17 enforces strong encapsulation. Lombok can handle that if you upgrade to 1.18.22+. or use an older java version.

I assume you have java 17.

but check out my updated fork, with docker image.

https://github.com/AntonyLeons/Ward

@kid1412621
Copy link

update lombok

        <lombokVersion>1.18.24</lombokVersion>

kid1412621 added a commit to kid1412621/Ward that referenced this issue Dec 22, 2022
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