Skip to content
This repository was archived by the owner on Jun 23, 2021. It is now read-only.
This repository was archived by the owner on Jun 23, 2021. It is now read-only.

Maven test fails with JDK 11 #29

@arun-gupta

Description

@arun-gupta

mvn clean test fails with JDK 11

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/ubuntu/realworld-serverless-application/aws-ssm-caching-client/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] aws-ssm-caching-client 1.0.0 ....................... FAILURE [  4.712 s]
[INFO] realworld-serverless-application-backend 0.1.5 ..... SKIPPED
[INFO] realworld-serverless-application 0.1.5 ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.454 s
[INFO] Finished at: 2019-10-11T17:10:00Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project aws-ssm-caching-client: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions