SonarQubeSever6.7 and SonarLint3.2 Analysis failure

Greetings to all,
I am using Eclipse Neon2 and the SonarLint3.2 ( and a remote SonarQube Server 6.7.5
The binding is completed successfully but I cannot run any analysis.
I got the exception below.
Please advise.

Thx & BR

Starting SonarLint for Eclipse
Error during execution of SonarLint analysis
java.lang.IllegalStateException: Unable to register extension
	at org.sonarsource.sonarlint.core.container.ComponentContainer.addExtension(
	at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.addPluginExtensions(
	at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doBeforeStart(
	at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(
	at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$analyze$0(
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl$$Lambda$221/780981043.get(Unknown Source)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(
	at org.sonarlint.eclipse.core.internal.server.Server.runAnalysis(
Caused by: java.lang.NoClassDefFoundError: Lorg/sonar/api/config/Configuration;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(
	at java.lang.Class.getDeclaredFields(
	at org.picocontainer.injectors.AdaptingInjection$
	at Method)
	at org.picocontainer.injectors.AdaptingInjection.injectionFieldAnnotated(
	at org.picocontainer.injectors.AdaptingInjection.fieldAnnotatedInjectionAdapter(
	at org.picocontainer.injectors.AdaptingInjection.createComponentAdapter(
	at org.picocontainer.behaviors.AbstractBehaviorFactory.createComponentAdapter(
	at org.picocontainer.behaviors.OptInCaching.createComponentAdapter(
	at org.picocontainer.DefaultPicoContainer.addComponent(
	at org.picocontainer.DefaultPicoContainer.access$300(
	at org.picocontainer.DefaultPicoContainer$AsPropertiesPicoContainer.addComponent(
	at org.sonarsource.sonarlint.core.container.ComponentContainer.addExtension(
	... 21 more
Caused by: java.lang.ClassNotFoundException: org.sonar.api.config.Configuration
	at org.sonar.classloader.ParentFirstStrategy.loadClass(
	at org.sonar.classloader.ClassRealm.loadClass(
	at org.sonar.classloader.ClassRealm.loadClass(
	... 35 more


The version of SonarLint you are using is too old to be compatible with the SonarJava analyzer that is installed on your SonarQube server. Please update and it will fix your error. Latest version is 3.6.

1 Like

Thx a lot for the quick reply.
I am having the following issue with my eclipse:
On the Eclipse Marketplace it shows that I have the SonarLint 3.6 installed (if I recall correctly, I installed the 3.2 and not the 3.6 last year).
When I clicked on the uninstall button, I got the following message and could not uninstall:
On the Eclipse Installation Details, I found the following info:
On the Installed Software tab, I see the SonarLint 3.2
SonarLint for Eclipse SonarSource

On the installation history it shows the following:
SonarLint for Eclipse

On the Features tab it shows two sonarlints, the old 2.5.1 and the current 3.2
SonarLint for Eclipse SonarSource
SonarLint for Eclipse SonarSource

On the Plugins tab, I see all the related entries for both lint versions i.e. the core-client API etc…

Presently, I cannot uninstall the existing 3.2, nor update it.
Is there a way to uninstall it manually? i.e. by deleting some jar/files/folders etc…
Also, how do I install/update the existing one manually? which URL should I use?
Please let me know.

Thx again and BR

The correct entries for the Features:

Sorry for this inconvenience.


It seems your Eclipse installation is in a bad shape. I would suggest to:

  • close Eclipse
  • clean <eclipse dir>/plugins and <eclipse dir>/features folders by removing any reference to SonarLint/SonarSource
  • start Eclipse from a shell with option -clean
  • install SonarLint 3.6