![](/img/trans.png)
[英]Eclipse 4.5.1. (MARS.1) Method not found: setDefaultEditor
[英]Not able to install sonarlint plugin in Platform: Eclipse Mars.1 (4.5.1)
尝试在 STS 工具中安装 Sonar Lint 插件,它没有安装,并说 Sonar Lint 与此版本的 Eclipse 不兼容。
查找版本详细信息。
Spring Tool Suite
Version: 3.7.2.RELEASE
Build Id: 201511261048
Platform: Eclipse Mars.1 (4.5.1)
您好,您可以从以下 URL http://www.sonarlint.org/eclipse/下载 sonar lint,然后按照下面给出的步骤操作
您还可以安装SonarLint
的 zip 文件,如下所示:
1.转到网站https://bintray.com/sonarsource/SonarLint-for-Eclipse/releases/2.6.0 。
2.下载安装jar文件并进入eclipse的帮助菜单
3.点击“安装新软件”
4.点击添加。
5.点击“存档”。
6 从您下载 jar 的位置“打开”jar 文件。
不确定到底是什么问题,但我通过启动 STS 解决了这个问题,选择“安装新软件”并将 Solarlint 更新站点 URL 粘贴到该对话框中: http ://eclipse.sonarlint.org/
这让我可以毫无问题地将插件安装到 STS 3.7.2 中。 希望这可以帮助!!!
1.从https://www.sonarlint.org/eclipse/下载
2.在 Eclipse 中转到帮助->安装新软件->添加
3.现在单击存档并选择下载的插件 zip,然后单击确定
4.选择项目点击下一步然后接受许可协议最后会要求重启
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.