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

Attempt to fix misbehaving-jmx-server build #490

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

carlosroman
Copy link
Contributor

@carlosroman carlosroman commented Oct 24, 2023

Fixing the build of misbehaving-jmx-server. The issues comes from the version on Lombok and the JDK. Have pinned the JDK to be 17 as that one works with the version of Lombok being used. The error I was seeing pointed to this being the problem:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project misbehavingjmxserver: Fatal error compiling: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImpo
rt does not have member field 'com.sun.tools.javac.tree.JCTree qualid' -> [Help 1]

Also:

  • Switched to using Eclipse Temurin as former AdoptOpenJDK project has moved to Eclipse Adoptium.
  • Added Maven Wrapper to misbehaving-jmx-server as it made it easier to pin the JDK.

@carlosroman carlosroman requested a review from a team as a code owner October 24, 2023 09:13
Copy link
Contributor

@scottopell scottopell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙇‍♂️

@carlosroman carlosroman merged commit 2c88ecc into master Oct 24, 2023
2 checks passed
@carlosroman carlosroman deleted the carlosromnan/ci-test branch October 24, 2023 14:11
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

Successfully merging this pull request may close these issues.

2 participants