java - 如何在 Eclipse 中显示 SonarLint?

标签 java eclipse sonarqube sonarlint eclipse-mars

我使用这个 approach 安装了 SonarLint在我的 ECLIPSE MARS 2 - 4.5.0

由于以下错误,我无法使用 MarketPlace 执行此操作:无法读取 https://eclipse-uc.sonarlint.org/compositeContent.xml 上的存储库。 收到致命警报:protocol_version

安装成功,没有错误,但在窗口设置中找不到 SonarLint 的 View (窗口>设置)。

这是已安装插件的屏幕截图: enter image description here

marketPlace 中的结果相同:

enter image description here

在设置中:

enter image description here

你知道如何解决这个问题吗?

最佳答案

我猜您正在为 Eclipse 使用 < 1.8 的 Java 运行时?
Sonarlint 需要 Java 运行时 >= 1.8.x

关于java - 如何在 Eclipse 中显示 SonarLint?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53817079/

相关文章:

java - 使用顺序 CASE_INSENSITIVE_ORDER 按键对 TreeMap 进行排序

java - 如何将 @Query 保留在属性文件中并在 JPA 中访问这些查询

eclipse - @SequenceGenerator - AllocationSize,使用 Eclipse Hibernate Tools 进行逆向工程

java - 广播接收器 android 上的调用服务器功能和弹出窗口

SonarQube - 如何确定版本?

maven - 如何在 SonarQube 中使用增量模式?

java - hibernate ehcache测试失败

c# - 性能有什么问题吗?

java - 在 lift 框架中添加更多页面和 .scala 类

sonarqube - 让质量门违规导致增量分析失败