Unable to perform sonar scan on JAVA 8 project in sonarqube 10.7 version

  • Sonarqube Server - 10.7
  • how is SonarQube deployed: Docker
  • Trying to perform sonarscan on java 8 version code with Sonarqube server 10.7 version.

Please suggest me by checking below logs once.

Execution default-cli of goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594:sonar failed: An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594:sonar: 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

You should probably read this post I just responded with on a similar thread!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.