sonarqube - How to avoid the "Fail to request server version" exception, when analyzing code? -


whenever run sonar analysis using sonar-runner, exception:

exception in thread "main" java.lang.illegalstateexception: fail request server version      @ org.sonar.runner.bootstrapper.getserverversion(bootstrapper.java:73)      @ org.sonar.runner.runner.checksonarversion(runner.java:220)      @ org.sonar.runner.runner.execute(runner.java:150)      @ org.sonar.runner.main.execute(main.java:84)      @ org.sonar.runner.main.main(main.java:56) caused by: java.io.ioexception: server returned http response code: 503 url: http://localhost:8085/api/server/version      @ sun.net.www.protocol.http.httpurlconnection.getinputstream(httpurlconnection.java:1626)      @ java.net.urlconnection.getcontent(urlconnection.java:748)      @ org.sonar.runner.bootstrapper.remotecontent(bootstrapper.java:125)      @ org.sonar.runner.bootstrapper.getserverversion(bootstrapper.java:71) 

how can avoid exception , analyze code?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -