Rudolf-Barbu / Ward

Server dashboard that enables you to monitor and track the status of your server.
MIT License
2.26k stars 222 forks source link

class not accessible #55

Open xLixon opened 2 years ago

xLixon commented 2 years ago

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 2 years ago

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 commented 1 year ago

update lombok

        <lombokVersion>1.18.24</lombokVersion>