Unable to configure SonarLint plugin on Idea IntelliJ

Arpit picture Arpit · Jan 31, 2018 · Viewed 7.5k times · Source

I'm trying to configure the SonarLint plugin (Version - 3.2.0.2350) on Idea Intellij (Ultimate Edition. Version: 2017.3.4, Build: 173.4548.28) but I get an error when trying to Update binding - **Analyzers not loaded**. The following plugins do not meet the required minimum versions, please upgrade them. typescript (installed1.1.0, minimum 1.5).

Although I am still able to go ahead and Update the Project list, find my project and save the settings, whenever I try to Analyze any file, it says Cannot create ClassLoader. I do not have any separate Typescript plugin installed apart from the Javascript Support plugin. And the updated to the latest version 1.0.

Can anyone help with this ?

enter image description here

Answer

Latest release of the SonarLint common library (used by most SonarLint flavors) unlock support of SonarTS. This is not yet officially supported in SonarLint for IntelliJ, but it will come.

SonarLint requires at least SonarTS 1.5, and it seems your have SonarTS 1.1.0 installed on your SonarQube server. So basically SonarLint is asking you to update it, and will ignore the plugin.

The classloader error should come from something else, but we need a stacktrace to better understand (look at SonarLint logs).