SonarLint cannot connect to SonarQube Server
Solution 1
The plugin the message is referring to is the Sonar Java Plugin. Log in to Sonar as admin, go to Administration/System/Update Center and you'll see that the current installed plugin version is 3.0. Update it to the newest version available and it should work.
[Edit] - The upgrade is triggered by just clicking the button, but after it is downloaded and installed, you'll have to restart the Sonar server.
Solution 2
Another option is to downgrade to an older version of the plugin:
- Exit IntelliJ
- Delete the files in the following folder (your version of Idea may be in a slightly different folder C:\Users\USER.IdeaIC2018.1\config\plugins\SonarLint\lib
- Download version 3.5.1.2759 from the following: https://plugins.jetbrains.com/plugin/7973-sonarlint
- Unzip all the files from the downloaded file to the above folder
fuechsle
Updated on June 27, 2022Comments
-
fuechsle about 2 years
I have eclipse mars2 with sonarLint 2.1. I try to connect to a SonarQube Server 5.1.2
When I try to connect via the eclipse GUI, the following error occurs:
The following plugins do not meet the required minimum versions, please upgrade them: java (installed: 3.0, minimum: 3.8)
Do you have any ideas? Thank you guys!
-
iusting almost 8 yearsWhy would someone upgrade it from 3.0 to 3.8 instead of the newest 3.14? Please note that the current version is 3.14, not the same as 3.1.4 (3.14 > 3.8 while 3.1.4 < 3.8). For more informations about the versions check docs.sonarqube.org/display/PLUG/Java+Plugin (clicking on the "More versions" button).
-
Sinapse almost 8 yearsBecause I had another plugin not compatible with the newest version of the Java plugin. All sorted now, thank you!
-
Vahid over 7 yearsManual update is also possible docs.sonarqube.org/display/SONAR/Installing+a+Plugin
-
Jaap almost 5 yearsThis question is about the Eclipse plugin, not IntelliJ.