问题
I use Sonar 2.4.1, Maven 2, Eclipse SDK 3.5. Sonar is up and running at http://127.0.0.1:9000.
I've installed Sonar Eclipse Plugin and when i try to add a sonar server and i click "Test connetion" button (http://localhost:9000 with or without user and password) i don't get "Connected successfully".
Waiting for your answers.
回答1:
For the Sonar Eclipse Plugin, make sure there is no side effect with the Eclipse proxy setting.
As illustrated in this bug report:
Connection via proxy works fine - tested in real life, but looks like "Test connection" button doesn't work.
So the connection might work fine, but I don't see that correction in that latest release notes.
The OP Rayouma reports:
Eclipse - > Window-> Preferences-> Network Connections
.Put
Active Provider
to "Manual
".
For the schema "HTTP" makeEdit
and put in host: "127.0.0.1
" and in port9000
.
Re-test the creation of the server Sonar under Eclipse and that works!
来源:https://stackoverflow.com/questions/4596105/sonar-eclipse-plugin-test-connection