extentreports-cucumber6-adapter icon indicating copy to clipboard operation
extentreports-cucumber6-adapter copied to clipboard

Unable to compile with JDK 16

Open simsekMcem opened this issue 3 years ago • 1 comments

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?

simsekMcem avatar May 03 '21 08:05 simsekMcem