vanderby / SonarQube-AzureAppService

Instructions and files to host SonarQube on an Azure App Service without a container.
MIT License
90 stars 165 forks source link

Run Code Analysis Java Runtime error #84

Open ventil8 opened 1 year ago

ventil8 commented 1 year ago

install all worked well and in my pipeline for the SonarQubeAnalyze@5 task i get 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

vanderby commented 1 year ago

I would check the version of the Java runtime in your web app. It's under Configuration -> General -> Java Version. I see brand new deployments use Java 17.

ventil8 commented 1 year ago

Yes its set to Java 17 and it is a brand new deployment. Do I need to chnage this?