SonarLint doesn't see server binding

Katoteshi Fuku picture Katoteshi Fuku · Jul 9, 2016 · Viewed 10.7k times · Source
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"

Answer

avalon picture avalon · Jul 10, 2016

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.