Are you using sonarqube server?
I do not think you can use the plugin if the server is not working to connect to the analysis.
http://docs.sonarqube.org/display/SONAR/SonarQube+in+Eclipse
For the purposes you are looking at, I am using personal use, you could probably leave with a standalone instance of SonarQube using the built-in H2 database.
Local analysis parameters
Parameters for setting up local analysis can be set in different places. Here is the hierarchy of parameters:
Parameters defined in the SonarQube web interface
Parameters set in the pom.xml file (only for Maven projects, with m2e) will override the parameters defined in the user interface
The parameters defined in Eclipse override the parameters defined in the pom file (go to Window> Settings> Sonar> Local analysis of properties)
Parameters defined at the project level in Eclipse override parameters defined at the Eclipse level (right-click on the project and go to "Properties"> "Sonar"> "Local Analysis Properties")
Plugin exception
Some plugins (useless for local analysis) can be skipped during local analysis due to the sonar.dryRun.excludePlugins property (Settings> Configuration> General settings> General).
The default value is "devcockpit, pdfreport, report, scmactivity, views". For example, to skip the Build Stability plugin (due to https://jira.codehaus.org/browse/SONARIDE-346 ), set the property to "devcockpit, pdfreport, report, scmactivity, views, buildstability".
Here is where I found this information: Starting Qube Sonar in Eclipse
Double check settings
You can also double check your settings. The plugin will install a sonar instance for local analysis on localhost: 9000. If you remove this, it can lead to errors. You must have two servers listed on the configuration page, local host and remote server.
Return to this page: Configuring Sonar with Eclipse