sonarqube - Exception while running sonar-runner on a Java Project -


i have installed sonar-runner-1.0 , sonar-3.1.1 on mac os x 10.8.2. configured sonar-runner stand alone project , tried running sonar-runner file analysis of code. script file returned error follows :

error in socksnonproxyhosts system property:  sun.misc.reexception: local duplicate sonar version: 3.5.1 exception in thread "main" org.sonar.batch.bootstrapper.bootstrapexception: org.sonar.batch.bootstrapper.bootstrapexception: fail download file: localhost:9000/batch @ org.sonar.batch.bootstrapper.bootstrapper.downloadbatchfiles(bootstrapper.java:164) @ org.sonar.batch.bootstrapper.bootstrapper.createclassloader(bootstrapper.java:87) @ org.sonar.runner.main.createclassloader(main.java:151) @ org.sonar.runner.main.execute(main.java:67) @ org.sonar.runner.main.main(main.java:48) caused by: org.sonar.batch.bootstrapper.bootstrapexception: fail download file: localhost:9000/batch/ @ org.sonar.batch.bootstrapper.bootstrapper.remotecontenttofile(bootstrapper.java:113) @ org.sonar.batch.bootstrapper.bootstrapper.downloadbatchfiles(bootstrapper.java:159) ... 4 more caused by: java.io.filenotfoundexception: /net/10.132.20.192/users/498546/desktop/sonar-runner-1.0/bin/./.sonar/batch @ java.io.fileoutputstream.open(native method) @ java.io.fileoutputstream.<init>(fileoutputstream.java:194) @ org.sonar.batch.bootstrapper.bootstrapper.remotecontenttofile(bootstrapper.java:107) ... 5 more 

i have set sonar_runner_home path java , created asonar_project.properties file project , placed in bin folder of sonar_runner.

can please suggest can cause of error ?

it looks you're mixing things up. please download latest versions: sonar 3.5.1 , sonar runner 2.2? please follow documentation:

  1. install sonar.
  2. install sonar runner.
  3. read how run analysis sonar runner.
  4. analyze simple java project sample. ('run sonar analysis' section).

if encounter issues, please come detailed information.

thank you

david racodon | sonarsource


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -