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

SonarScanner execution error when using v2.4.1 and above #107

Open
pitininja opened this issue Oct 23, 2024 · 0 comments
Open

SonarScanner execution error when using v2.4.1 and above #107

pitininja opened this issue Oct 23, 2024 · 0 comments

Comments

@pitininja
Copy link

Hello,

When using v2.4.1 or v2.4.2, I have an error in my SonarQube pipeline step :

ERROR: Error during SonarScanner execution

java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

v2.4.0 is working fine. I'm using SonarQube v10.7.

I think the problem may come from this downgrade in v2.4.1 : Sonar CLI downgraded from 6.0.0.4432 to 5.0.1.3006 (but I might be wrong of course).

Regards

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

1 participant