amazon-archives / realworld-serverless-application

This project is inspired by the design and development of the AWS Serverless Application Repository - a production-grade AWS service. Learn how AWS built a production service using serverless technologies.
Apache License 2.0
515 stars 107 forks source link

Maven test fails with JDK 11 #29

Open arun-gupta opened 4 years ago

arun-gupta commented 4 years ago

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
jlhood commented 4 years ago

Looks like upgrading the version of lombok we use should fix this issue according to https://github.com/rzwitserloot/lombok/issues/1651