Sonarqube scanning not working

  • Hello, i am trying to do setup of sonarqube scanning of my web application but i am facing issue, Below are the details
    sonarqube server - * Version 9.4
  • web application jdk - 1.8
  • pom file changes

    org.sonarsource.scanner.maven
    sonar-maven-plugin
    3.7.0.1746
  • Error message - Execution default-cli of goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar failed: An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar: java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

i would like to make this running on jdk 8 only and would not like to change it.
Seeking help. i tried to change maven plugin version but no use

You will need to use Java 11 in order to analyze – but that doesn’t mean you can’t still build with Java 8. Take a look at the Scanner Environment documentation.