I get this missing or bad plugin while sonar is working in project C

I am trying to analyze an example project that was provided by sonarQube examples. I have a C / C ++ version 2.0 plugin installed on my SonarQube. My sonar-project.properties has this content.

sonar-project.properties

sonar.projectKey=org.codehaus.sonar:simple-c-project

sonar.projectName=Simple C project analyzed with the SonarQube Runner

sonar.projectVersion=1.0

sonar.sources=src

sonar.language=c

sonar.sourceEncoding=UTF-8

When I run the sonar-runner command for this project, I get the error message below

ERROR: Error during Sonar runner execution

org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:90)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:41)

Called: com.AAABA: Missing or bad plugin license. Check out the logs.

I do not have any plugins or the wrong plugin is installed.

Thank.

+3
source share
2 answers

C/++ , . , , .

:

Log in as a System administrator, go to Settings > General Settings > Licenses, paste your license key and Save (was Settings > General Settings > C/C++ (SonarSource) prior to version 1.6).
0

All Articles