vanderby / SonarQube-AzureAppService

Instructions and files to host SonarQube on an Azure App Service without a container.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run Code Analysis Java Runtime error

ventil8 opened this issue · comments

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

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.

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