We have upgraded our task both Prepapre Analysis and Run Analysis to version 6.1.0.
We are getting below error at run time analysis
##[error]Error: LinkageError occurred while loading main class org.sonarsource.scanner.cli.Main
Error: LinkageError occurred while loading main class org.sonarsource.scanner.cli.Main
##[error]java.lang.UnsupportedClassVersionError: org/sonarsource/scanner/cli/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
java.lang.UnsupportedClassVersionError: org/sonarsource/scanner/cli/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
##[error]The SonarScanner did not complete successfully
The SonarScanner did not complete successfully
##[error]10:07:07.731 Post-processing failed. Exit code: 1
10:07:07.731 Post-processing failed. Exit code: 1
##[warning]Can’t find loc string for key: LIB_ProcessExitCode
##[warning]Error while executing SonarQube:Analyze task: LIB_ProcessExitCode D:\agents\01_work_temp\b84ceff9-e329-4b58-b4cc-c493c681d209\SonarScanner.MSBuild.exe 1
##[error]LIB_ProcessExitCode D:\agents\01_work_temp\b84ceff9-e329-4b58-b4cc-c493c681d209\SonarScanner.MSBuild.exe 1
We are using Azure DevOps On Preim 2020 and Sonar Qube Version is 9.9.3 Enterprise
Thanks