<i id='rglrG'><tr id='rglrG'><dt id='rglrG'><q id='rglrG'><span id='rglrG'><b id='rglrG'><form id='rglrG'><ins id='rglrG'></ins><ul id='rglrG'></ul><sub id='rglrG'></sub></form><legend id='rglrG'></legend><bdo id='rglrG'><pre id='rglrG'><center id='rglrG'></center></pre></bdo></b><th id='rglrG'></th></span></q></dt></tr></i><div id='rglrG'><tfoot id='rglrG'></tfoot><dl id='rglrG'><fieldset id='rglrG'></fieldset></dl></div>

        <small id='rglrG'></small><noframes id='rglrG'>

        <tfoot id='rglrG'></tfoot>
      1. <legend id='rglrG'><style id='rglrG'><dir id='rglrG'><q id='rglrG'></q></dir></style></legend>
          <bdo id='rglrG'></bdo><ul id='rglrG'></ul>

        声纳添加新项目

        Sonar Adding a new project(声纳添加新项目)
          1. <legend id='TuVwY'><style id='TuVwY'><dir id='TuVwY'><q id='TuVwY'></q></dir></style></legend>
              <tbody id='TuVwY'></tbody>

            1. <tfoot id='TuVwY'></tfoot>
                <bdo id='TuVwY'></bdo><ul id='TuVwY'></ul>
              • <small id='TuVwY'></small><noframes id='TuVwY'>

                <i id='TuVwY'><tr id='TuVwY'><dt id='TuVwY'><q id='TuVwY'><span id='TuVwY'><b id='TuVwY'><form id='TuVwY'><ins id='TuVwY'></ins><ul id='TuVwY'></ul><sub id='TuVwY'></sub></form><legend id='TuVwY'></legend><bdo id='TuVwY'><pre id='TuVwY'><center id='TuVwY'></center></pre></bdo></b><th id='TuVwY'></th></span></q></dt></tr></i><div id='TuVwY'><tfoot id='TuVwY'></tfoot><dl id='TuVwY'><fieldset id='TuVwY'></fieldset></dl></div>

                  本文介绍了声纳添加新项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试将一个新项目添加到 sonar 中.运行 sonar runner 时,出现以下错误,谁能帮我解决这个问题.

                  I am trying to add a new project into sonar. When running sonar runner, I'm getting the following error, Can anyone please help me on this.

                  声纳运行器

                  Runner configuration file: /opt/lampp/htdocs/typo3/sonar-runner-1/conf/sonar-
                  runner.properties
                  Project configuration file: /opt/lampp/htdocs/typo3/sonar-project.properties
                  Runner version: 2.0
                  Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
                  OS name: "Linux", version: "2.6.38-8-generic", arch: "i386"
                  Default locale: "en_IN", source code encoding: "UTF-8"
                  Server: http://localhost:9000
                  Work directory: /opt/lampp/htdocs/typo3/.sonar
                  Total time: 1:00.153s
                  Final Memory: 0M/30M
                  Exception in thread "main" java.lang.IllegalStateException: Fail to request server 
                  version
                      at org.sonar.runner.Bootstrapper.getServerVersion(Bootstrapper.java:73)
                      at org.sonar.runner.Runner.checkSonarVersion(Runner.java:220)
                      at org.sonar.runner.Runner.execute(Runner.java:15
                  at org.sonar.runner.Main.execute(Main.java:84)
                  at org.sonar.runner.Main.main(Main.java:56)
                  Caused by: java.net.SocketTimeoutException: Read timed out
                  at java.net.SocketInputStream.socketRead0(Native Method)
                  at java.net.SocketInputStream.read(Unknown Source)
                  at java.io.BufferedInputStream.fill(Unknown Source)
                  at java.io.BufferedInputStream.read1(Unknown Source)
                  at java.io.BufferedInputStream.read(Unknown Source)
                  at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
                  at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
                  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
                  at java.net.URLConnection.getContent(Unknown Source)
                  at org.sonar.runner.Bootstrapper.remoteContent(Bootstrapper.java:125)
                  at org.sonar.runner.Bootstrapper.getServerVersion(Bootstrapper.java:71)
                  ... 4 more
                  
                  XXXXXXXXX:/opt/lampp/htdocs/typo3$ `
                  

                  推荐答案

                  好的,我自己找到了解决方法,我的声纳在 9005 端口工作,所以我设置了 url sonar.properties 文件.

                  OK I found the fix by myself , My sonar was working in a port 9005 so i have set url sonar.properties files.

                  这篇关于声纳添加新项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Slf4j LoggerFactory.getLogger and sonarqube(Slf4j LoggerFactory.getLogger 和 sonarqube)
                  Security - Array is stored directly(安全性 - 数组直接存储)
                  SonarQube quot;Class Not Foundquot; during Main AST Scan(SonarQube“找不到类在主 AST 扫描期间)
                  Integrate Spock#39;s test with Sonar(将 Spock 的测试与声纳集成)
                  How do I make Hudson/Jenkins fail if Sonar thresholds are breached?(如果违反声纳阈值,我如何让 Hudson/Jenkins 失败?)
                  automatically add curly brackets to all if/else/for/while etc. in a java code-base(自动将大括号添加到 java 代码库中的所有 if/else/for/while 等)

                    <bdo id='fFjk2'></bdo><ul id='fFjk2'></ul>
                    1. <i id='fFjk2'><tr id='fFjk2'><dt id='fFjk2'><q id='fFjk2'><span id='fFjk2'><b id='fFjk2'><form id='fFjk2'><ins id='fFjk2'></ins><ul id='fFjk2'></ul><sub id='fFjk2'></sub></form><legend id='fFjk2'></legend><bdo id='fFjk2'><pre id='fFjk2'><center id='fFjk2'></center></pre></bdo></b><th id='fFjk2'></th></span></q></dt></tr></i><div id='fFjk2'><tfoot id='fFjk2'></tfoot><dl id='fFjk2'><fieldset id='fFjk2'></fieldset></dl></div>
                        <tbody id='fFjk2'></tbody>
                            <legend id='fFjk2'><style id='fFjk2'><dir id='fFjk2'><q id='fFjk2'></q></dir></style></legend>

                            <small id='fFjk2'></small><noframes id='fFjk2'>

                          1. <tfoot id='fFjk2'></tfoot>