Open simsekMcem opened 3 years ago
I have not tried compiling the adapter with JDK 16. I think the latest JDK version I have tried is 11.
I am really not sure if extentreports currently support JDK 16. U could open an issue https://github.com/extent-framework/extentreports-java/issues in extentreports for further details.
U could also try compiling the extentreports source with the latest lombok version.
Hello,
There is an issue with JDK 16 because of a dependency called lombok. This dependency is coming from extentreports library and throws such an error:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project PROJECT: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x6a2badb1) 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 @0x6a2badb1 -> [Help 1]
Same issue is discussed here: https://github.com/projectlombok/lombok/issues/2681 Lombok needs to be updated to make compatible with JDK 16. If im not mistaken, this issue is handled in the lombok project.
Do you have any idea about this problem?