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

mvnd with lombok error #550

Closed
muyuanqiang7 opened this issue Dec 29, 2021 · 2 comments
Closed

mvnd with lombok error #550

muyuanqiang7 opened this issue Dec 29, 2021 · 2 comments

Comments

@muyuanqiang7
Copy link

muyuanqiang7 commented Dec 29, 2021

Spring Boot with lombok run mvnd clean package get error:
java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x61094189) 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
i found the problem is lombok version, i update the version of lombok solve the problem.

@muyuanqiang7
Copy link
Author

update lombok version to latest

@Achieve777
Copy link

it still has the same problem when i use jdk8 to compile my project

Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x5b25551e) 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 @0x5b25551e

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

2 participants