class not accessible
xLixon opened this issue · 2 comments
xLixon commented
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 commented
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.
kid1412621 commented
update lombok
<lombokVersion>1.18.24</lombokVersion>