2
我正在嘗試爲sonarqube進行代碼分析。不過,我跑無法從服務器獲得引導索引
時得到了錯誤MVM聲納:聲納
這是錯誤消息:
[ERROR] SonarQube server [http://localhost:9000] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.972 s
[INFO] Finished at: 2017-06-06T08:51:52+08:00
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:
3.3.0.603:sonar (default-cli) on project example-java-maven: Unable to execute SonarQube:
Fail to get bootstrap index from server: Status returned by url
[http://localhost:9000/batch/index] is not valid: [504] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
但是當我通過瀏覽器訪問http://localhost:9000,我可以看到sonarqube主頁。
那麼爲什麼會發生這種情況呢?
謝謝。
任何使用聲納的Maven插件版本3.2? ('$ SONARQUBE_HOME/logs') –
訪問還是聲納? 對我來說這似乎很正常。 –