Closed javaspeak closed 1 year ago
Hi, thanks for reporting. Feel free to create a PR for this bug. I probably need to add pipelines for Java 8, 11 and 16/17 to verify the build with different versions
This is also the case with JDK 17. The same solution
Thanks for reporting @jgarciasm. I'm busy at work at the moment but I'll try fixing this soon. Otherwise feel free to submit a PR if you prefer,
Fixed
I have:
java --version java 16.0.1 2021-04-20 Java(TM) SE Runtime Environment (build 16.0.1+9-24) Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
mvn install failed with:
java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment
To fix it I added the version to the poms which had logbok in them:
Seems like JDK 16 is particular about the version of lombok
Thanks for the examples