Hi Team ,
using below versions
–sonarqube * Community Edition Version 7.2 (build 13530) LGPL v3
INFO: Scanner configuration file: E:\sonarscanner\sonar-scanner-cli-126.96.36.1990-windows\sonar-scanner-188.8.131.520-windows\bin…\conf\sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarScanner 184.108.40.2060
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Windows 10 10.0 amd64
java version “1.8.0_144”
Java™ SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot™ 64-Bit Server VM (build 25.144-b01, mixed mode)
JavaProject : compiled java project using gradle build script.
followed by executing the sonar-scanner.
Detailed log has been attached .
.sonarScan.log (91.5 KB)
Please help in resolving the issue
I don’t think SonarQube 7.2 supported Java 11. Since that version is past EOL anyway, you should upgrade at your earliest convenience to 7.9.3, the current LTS, and then on to 8.4.1, the current version. Then you’ll be able to analyze using Java 11.
Hi @ganncamp, Thanks to your reply.
Let me paraphrase my setup.
sonar-java-plugin-220.127.116.1132.jar in E:\sonarqube-7.2\extensions\plugins
& jdk 1.8 has been used to compile the source code , because source code is developed in Java 8.
could you please highlight me , where java 11 comes in to the picture ?
Correct me - if my understanding is wrong.
The error you list in your title is about “major version 55” being unsupported. The internet tells me that corresponds to Java 11. Somehow, whether or not you’re compiling with Java 8 or just to Java 8, you appear to be analyzing with Java 11.
Issue has been resolved by upgrading the sonarjava plugin
from sonar-java-plugin-18.104.22.16832.jar to sonar-java-plugin-22.214.171.12499.jar
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.