Error during SonarScanner execution during 1C scan

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Community Edition Version 9.9.1 (build 69595)
    1C (BSL) Community Plugin v. 1.13.0
  • how is SonarQube deployed: zip, Docker, Helm
    zip
  • what are you trying to achieve
    Scan a local repository
  • what have you tried so far to achieve this
    java -version output:
    openjdk version “17.0.7” 2023-04-18
    OpenJDK Runtime Environment (build 17.0.7+7-Debian-1deb11u1)
    OpenJDK 64-Bit Server VM (build 17.0.7+7-Debian-1deb11u1, mixed mode, sharing)

Error during scan:
Caused by: java.lang.UnsupportedClassVersionError: com/github/_1c_syntax/bsl/sonar/BSLPlugin 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

Please, help, how to resolve this issue?

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi,

This guide should help.

If it doesn’t, you probably want to created an issue on the plugin repository. I’m not sure the 1C maintainers monitor the community for problems.

 
HTH,
Ann