Ward icon indicating copy to clipboard operation
Ward copied to clipboard

class not accessible

Open xLixon opened this issue 2 years ago • 2 comments

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

xLixon avatar Jun 26 '22 16:06 xLixon

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

AntonyLeons avatar Jun 29 '22 21:06 AntonyLeons

update lombok

        <lombokVersion>1.18.24</lombokVersion>

kid1412621 avatar Dec 22 '22 09:12 kid1412621