Create analysis of project Java 8 get error java.lang.UnsupportedClassVersionError:

Hello everyone, I am trying to create an analysis of a project with java version 8, I generated a script as suggested in: Moving Analysis to Java 11 | SonarQube Docs

However, I cannot generate the project for analysis, I already have the most recent dependencies of
-org.sonarsource.sonarqube
-org.jacoco
in the pom.xml

can anybody help me?

Hi,

You need to remove the sonar:sonar goal and all analysis parameters from the first mvn call.

Hi, I have deleted the parameters as you mentioned, now I compile, however, I cannot see it in the localhost of sonarqube, what has happened?

hi, now i get this error