SonarQube - Java 8 compatibility matrix issue | Error publishing coverage reports to SonarQube

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2024
  • A possible resolution to the issue while publishing Coverage reports of Java 8 applications to Latest Sonarqube platform:
    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
    Links to stackoverflow:
    stackoverflow.com/questions/7...
    Major Minor versions of class file and JRE
    stackoverflow.com/questions/1...
  • บันเทิง

ความคิดเห็น • 2

  • @arozendojr
    @arozendojr 6 หลายเดือนก่อน +1

    The sonarqube server generates a different value that I can get locally, is there a way to get the same value generated on the local sonarqube server, without sending it to the server? motivation, if the sonarqube is too low, we have to commit more times to increase it.

    • @manthan_dhole
      @manthan_dhole  6 หลายเดือนก่อน

      I didn't got the question completely, what values are you referring to? Is it the scanned files/coverage reports that you see on the server or something else?
      Also, later on for my issue I had to upgrade the project to support the latest sonarqube server. I guess working of different versions might add some vulnerabilities as we progress. Also for faster analysis you can use docker images for the sonarqube instead of installing the server on your machine, that way you can compare multiple servers with different versions very easily with minimal configurational changes in your software project source code. Could you please elaborate more on your issue?
      Thanks!