无法使用Eclipse声纳插件

时间:2015-06-29 04:20:02

标签: sonarqube

我正在使用sonarcube 3.7.3 我正在使用STS以下细节:

版本:3.6.3.SR1 Build Id:201501121239 平台:Eclipse Luna SR1(4.4.1)

我已经安装了sonarcude eclipse插件(SonarCubeJava Analyzer 3.4.0.20140404-0949-RELEASE),当我尝试使用STS中的“Associate with SonarCude”选项将我的项目与声纳关联时,我收到以下错误:

无法访问您的某个SonarQube服务器。请检查您的连接设置。

我无法在此论坛上添加图像,因为我是新用户。

您能否提出可能存在的问题和可能的解决方案。 如果有任何疑问,请告诉我。

工作区日志显示如下: !ENTRY org.sonar.ide.eclipse.ui 4 0 2015-06-26 15:37:38.821 !信息 !堆栈0 org.eclipse.jface.operation.ModalContext.run中的java.lang.reflect.InvocationTargetException(ModalContext.java:423) org.sonar.ide.eclipse.ui.internal.command.ConfigureProjectsCommand $ 1.run(在org.eclipse.equinox.launcher.Main.run上配置(Main.java:1465) 引起:org.sonar.ide.eclipse.wsclient.ConnectionException:Query:at Root exception: org.sonar.ide.eclipse.wsclient.ConnectionException:查询:http://sonarserver/api/resources?scopes=PRJ&qualifiers=TRK,BRC&verbose=false& g.sonar.ide.eclipse.wsclient.internal.SonarWSClientFacade.findAll(SonarWSClientFacade.java:109)org.sonar.ide.eclipse.wsclient.internal.SonarWSClientFacade.listAllRemoteModules(SonarWSClientFacade.java:89)

当我在浏览器中检查时,上面日志中的url工作正常。

1 个答案:

答案 0 :(得分:0)

如果您从企业网络访问声纳,您可能会在代理服务器后面。如果是这样,请在 General>下的eclipse中尝试代理设置。网络连接

查看以下链接:

How do I have to configure the proxy settings so Eclipse can download new plugins?

http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm