Skip to content

Unable to compile with JDK 16 #39

@simsekMcem

Description

@simsekMcem

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions