Skip to content

SonarScanner execution error when using v2.4.1 and above #107

@pitininja

Description

@pitininja

Hello,

When using v2.4.1 or v2.4.2, I have an error in my SonarQube pipeline step :

ERROR: Error during SonarScanner execution

java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation 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

v2.4.0 is working fine. I'm using SonarQube v10.7.

I think the problem may come from this downgrade in v2.4.1 : Sonar CLI downgraded from 6.0.0.4432 to 5.0.1.3006 (but I might be wrong of course).

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions