Unable to load component interface org.sonar.api.batch.rule.ActiveRules caused by bad record MAC

SonarQube - * Version 7.9.1 (build 27448)
Plugin - 3.7.0.1746
Scanner - 3.0.3

Updating to Scanner 4.2.0 fixed the issue but the maven plugin is still failing

  • what are you trying to achieve
    To remediate this issue:
    [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project parent: Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher: Unable to load component interface org.sonar.api.batch.rule.ActiveRules: Failed to load quality profiles: bad record MAC → [Help 1]

  • what have you tried so far to achieve this
    Update Scanner version to 4.2.0 fixes it, but maven plugin 3.7.0.1746 results in this issue as well.

No errors on the sonarqube instance.

Hi,

Do you have the version of SonarScanner for Maven pinned in your pom? The current version is 3.8.

 
Ann