无法使用 Eclipse (Neon) 配置 SonarQube
Unable to configure SonarQube with Eclipse (Neon)
我做了以下步骤。
Eclipse > 安装新软件> http://downloads.sonarsource.com/eclipse/eclipse/
安装了 SonarQube。
运行 bat文件>StartSonar.bat
(版本:sonarqube-6.6)
Eclipse > Window > 首选项 > SonarQube > 服务器
单击编辑并输入 "admin" 密码。
测试连接成功。
http://localhost:9000/projects 也可以。使用 "admin" 密码登录。
在 eclipse 上创建了新的 java class。 (例如:HelloWold class)
右键单击项目>配置>与sonarQube关联
Window 已加载。在项目面板中,我的项目名称显示在那里。但是 "SonarQube Project" 面板中没有任何内容。即使我输入了一些东西(简单 java、Java 等),也没有列出任何内容。没有结果显示。我是新来的。我无法找到之前描述的任何解决方案。感谢您的帮助。
SonarQube Eclipse 插件已被弃用,并且不能与您使用的 SonarQube 版本 (6.6) 一起使用。
见https://docs.sonarqube.org/display/SONARQUBE53/Installing+SonarQube+in+Eclipse
The SonarQube Eclipse plugin is deprecated
The SonarQube Eclipse plugin does not work with SonarQube 5.2+. It is replaced by SonarLint for Eclipse.
这是您可以获得 SonarLint 的地方:https://www.sonarlint.org/eclipse/index.html
我做了以下步骤。
Eclipse > 安装新软件> http://downloads.sonarsource.com/eclipse/eclipse/ 安装了 SonarQube。
运行 bat文件>StartSonar.bat (版本:sonarqube-6.6)
Eclipse > Window > 首选项 > SonarQube > 服务器 单击编辑并输入 "admin" 密码。 测试连接成功。
http://localhost:9000/projects 也可以。使用 "admin" 密码登录。
在 eclipse 上创建了新的 java class。 (例如:HelloWold class)
右键单击项目>配置>与sonarQube关联
Window 已加载。在项目面板中,我的项目名称显示在那里。但是 "SonarQube Project" 面板中没有任何内容。即使我输入了一些东西(简单 java、Java 等),也没有列出任何内容。没有结果显示。我是新来的。我无法找到之前描述的任何解决方案。感谢您的帮助。
SonarQube Eclipse 插件已被弃用,并且不能与您使用的 SonarQube 版本 (6.6) 一起使用。
见https://docs.sonarqube.org/display/SONARQUBE53/Installing+SonarQube+in+Eclipse
The SonarQube Eclipse plugin is deprecated
The SonarQube Eclipse plugin does not work with SonarQube 5.2+. It is replaced by SonarLint for Eclipse.
这是您可以获得 SonarLint 的地方:https://www.sonarlint.org/eclipse/index.html