Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile with JDK 16 #39

Open
simsekMcem opened this issue May 3, 2021 · 1 comment
Open

Unable to compile with JDK 16 #39

simsekMcem opened this issue May 3, 2021 · 1 comment

Comments

@simsekMcem
Copy link

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: projectlombok/lombok#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?

@grasshopper7
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants