Rudolf-Barbu / Ward

Server dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

class not accessible

xLixon opened this issue · 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

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

update lombok

        <lombokVersion>1.18.24</lombokVersion>