Failed to execute goal org.sonarsource.scanner.maven:3.7.0.1746

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project test-parent: Cannot cast org.sonar.java.checks.security.EncryptionAlgorithmCheck to org.sonar.java.EndOfAnalysisCheck

The version we are using is Sonarqube -8.9.6
JDK - 1.8

We are getting the error intermediately. Few time this works, some times this fails. We are unable to figure out the reason for failing.

Hi,

The current version of SonarScanner for Maven is 3.9.1. Can you upgrade (you’ll need to upgrade your JDK too) and try again?

 
Ann