Search code examples
intellij-ideasonarqubecode-inspectionsonarlint

SonarLint doesn't see server binding


IntelliJ IDEA -> Settings -> Other settings -> SonarLint General Settings

SonarQube servers: Localhost (http://localhost:9000; login: admin; password: admin; test connection - "Authentification successful") Update binding: few seconds ago

IntelliJ IDEA -> Settings -> Other settings -> SonarLint Project Settings

Bind to server: Localhost SonarQube project: Update server binding first

But it's already bound! What may be wrong? Web interface also can't see the project.

When I press Analize code with SonarLint in workspace, I get an error popup: "Project bound to invalid SonarQube server. Please, check configuration"


Solution

  • Go to http://localhost:9000

    Then go to administration

    Then go to projects management

    Then press create project, enter project name exactly like in your IDE.

    Then go to

    IntelliJ IDEA -> Settings -> Other settings -> SonarLint Project Settings Bind to server:

    Press refresh binding.

    That's it.