You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to run with the latest version (ie 9.1), then you will face the following error:
java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation 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
Proposed solution
The issue seems to be with the Java version from the docker image used. Class file version 52 is for Java 8. And Class file version 55 needs Java 11.
Issue and Steps to Reproduce
If you try to run with the latest version (ie 9.1), then you will face the following error:
Proposed solution
Drop the unofficial docker image and use to official one: https://hub.docker.com/r/sonarsource/sonar-scanner-cli
Specifications
The text was updated successfully, but these errors were encountered: