You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is to get rid of the following error:
Calling the SonarScanner CLI...
dotnet.exe : Error: LinkageError occurred while loading main class org.sonarsource.scanner.cli.Main
At C:\projects\dotnet-version-cli\Build.ps1:83 char:12
+ exec { & dotnet sonarscanner end /d:sonar.login="$env:SONARCLOUD_ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Error: LinkageE...canner.cli.Main:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
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 60.0
0 commit comments