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

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile #5

Open
jkessle2 opened this issue Jun 30, 2019 · 5 comments

Comments

@jkessle2
Copy link

I got this error. Can anyone help?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project raspberrypi.monitor: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags

@mrginogit
Copy link

I'm having this same problem trying to install. Did you ever find a solution?

@cl0udninja
Copy link
Owner

What is your Java version?

@cl0udninja
Copy link
Owner

I'm using Lombok and frankly I don't remember which version but when the shift happened to Java 10 Lombok wasn't compatible any more. See: projectlombok/lombok#1651 On the Pi I have this running I have Java 11. So your Java version is probably too old maybe

@mrginogit
Copy link

Tried with openjdk-8-jre initially as instructed in the readme. Also just tried with openjdk-11-jre. Same result.

I have never used Lombok, but I followed the install instructions at https://projectlombok.org/setup/maven. Your pom.xml already had the dependency suggested but was missing <version>1.18.12</version> so I added it. That did the trick.

@cl0udninja
Copy link
Owner

cl0udninja commented Jun 7, 2020 via email

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

3 participants