We are using sonar 6.7.3 and plan to upgrade to sonar-9.2.4, for which JDK 11 is required. However, all our projects are on JDK 8 and there are some hurdles to making them compatible with jdk11. Hence we choose sonar-8.9.7 off-late, where the scanner can run on JDK 8, along with sonar-maven-plugin: 3.2
Post upgrade to sonar-8.9.7, when we ran a couple of analyses, we saw the below error. Could you please advise, how this can be fixed?
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project archiver: Unable to load component class org.sonar.java.SonarComponents: org/sonar/java/checks/methods/AbstractMethodDetection 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