SonarLint cannot connect to SonarQube Server

12,769

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:

  1. Exit IntelliJ
  2. 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
  3. Download version 3.5.1.2759 from the following: https://plugins.jetbrains.com/plugin/7973-sonarlint
  4. Unzip all the files from the downloaded file to the above folder
Share:
12,769
fuechsle
Author by

fuechsle

Updated on June 27, 2022

Comments

  • fuechsle
    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
    iusting almost 8 years
    Why 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
    Sinapse almost 8 years
    Because I had another plugin not compatible with the newest version of the Java plugin. All sorted now, thank you!
  • Vahid
    Vahid over 7 years
  • Jaap
    Jaap almost 5 years
    This question is about the Eclipse plugin, not IntelliJ.