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

Checkstyle & Java Compatibility #393

Closed
jelliottp opened this issue Jul 8, 2022 · 3 comments · Fixed by #394
Closed

Checkstyle & Java Compatibility #393

jelliottp opened this issue Jul 8, 2022 · 3 comments · Fixed by #394
Milestone

Comments

@jelliottp
Copy link

I'm still having issues with Checkstyle & Java compatibility even after 1958 was fixed and released in rewrite-maven-plugin 4.26.0. In a java 8 project I get this:

Execution default-cli of goal org.openrewrite.maven:rewrite-maven-plugin:4.26.0:run failed: An API incompatibility was encountered while executing org.openrewrite.maven:rewrite-maven-plugin:4.26.0:run: java.lang.UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/api/CheckstyleException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Any ideas? The latest rewrite-maven-plugin version I am able to run is 4.21.0. However I am finding the exclusion configuration not working properly in this version (appears to be fixed in 4.25.1?).

@traceyyoshima traceyyoshima transferred this issue from openrewrite/rewrite Jul 8, 2022
@traceyyoshima
Copy link
Contributor

Hi @jelliottp, sorry about that!

It looks like dependabot automatically updated the dependency. I'll update the dependency and do a point release soon as I find a means to prevent the regression.

@traceyyoshima
Copy link
Contributor

@jelliottp 4.26.1 is released, thanks again for the report!

@traceyyoshima traceyyoshima added this to the 4.26.1 milestone Jul 8, 2022
@jelliottp
Copy link
Author

Works now, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants