Fail to load plugin SonarCFamily [cpp]

Hi Team ,

Sonarqube ser is failed to start with below error, Please advise

2020.05.07 01:30:07 INFO web[o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2020.05.07 01:30:07 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter@26d76b0f [pattern=UrlPattern{inclusions=[/api/system/migrate_db., …], exclusions=[/api/properties, …]}]
2020.05.07 01:30:07 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2020.05.07 01:30:08 ERROR web[o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.IllegalStateException: Fail to load plugin SonarCFamily [cpp]
at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:82)
at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:543)
at org.sonar.server.platform.Platform.start(Platform.java:211)
at org.sonar.server.platform.Platform.startLevel34Containers(Platform.java:185)
at org.sonar.server.platform.Platform.access$500(Platform.java:46)
at org.sonar.server.platform.Platform$1.lambda$doRun$0(Platform.java:119)
at org.sonar.server.platform.Platform$AutoStarterRunnable.runIfNotAborted(Platform.java:371)
at org.sonar.server.platform.Platform$1.doRun(Platform.java:119)
at org.sonar.server.platform.Platform$AutoStarterRunnable.run(Platform.java:355)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: com/sonarsource/plugins/license/api/LicensedPluginRegistration
at com.sonar.cpp.plugin.CFamilyPlugin.define(CFamilyPlugin.java:27)
at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:72)
… 9 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.sonarsource.plugins.license.api.LicensedPluginRegistration
at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)
at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
… 11 common frames omitted

the plugin used: sonar-cfamily-plugin-6.5.0.12506.jar
SonarQube Server: 7.9.1
openjdk version “11.0.4”

Hi @Manjunatha_NS,

are you trying to install cfamily-plugin on a community edition server? That is not going to work. You need to have a license and use at least a Developer edition.

Hi,

yes am using Community edition
we are scanning more than 500000 LOC , which edition is works fine for us ?

Thanks Regards,
Manju NS

Hi @Manjunatha_NS,

you should have a look at our dedicated page: https://www.sonarsource.com/plans-and-pricing/.