如何使用 java 1.6 在非 gradle 项目中使用 sonarlint

问题描述

美好的一天,

我有一个带有 Java 1.6 和 IBM RAD IDE 的旧非 gradle 项目。我想安装 sonarlint 来扫码。

我从 https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/ 下载了 3.6.0 版本,并尝试安装它,但是,我遇到了以下错误

Cannot complete the install because one or more required items Could not be found.
Software currently installed: Shared profile 1.0.0.1616475462970 (SharedProfile_bootProfile 1.0.0.1616475462970)
Missing requirement: Shared profile 1.0.0.1616475462970 (SharedProfile_bootProfile 1.0.0.1616475462970) requires ‘org.maven.ide.eclipse.wtp [0.16.0.20120914-0945]’ but it Could not be found

我用谷歌搜索,看起来这是权限问题,所以我注销了我的用户并以 root 身份登录进行安装,我通过了这一步,但遇到了另一个更长的错误

An error occurred while collecting items to be installed
session context was:(profile=bootProfile,phase=org.eclipse.equinox.internal.p2.engine.phases.Collect,operand=,action=).
Multiple problems occurred while downloading.
Problems downloading artifact: osgi.bundle,org.sonarlint.eclipse.core,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile4330229591585950587.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile4330229591585950587.jar
Problems downloading artifact: osgi.bundle,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile5400286403078645485.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile5400286403078645485.jar
Problems downloading artifact: org.eclipse.update.feature,org.sonarlint.eclipse.feature,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile8729710814473785052.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile8729710814473785052.jar
Multiple problems occurred while downloading.
Problems downloading artifact: osgi.bundle,org.sonarlint.eclipse.jdt,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile6653215294356887749.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6653215294356887749.jar
Problems downloading artifact: osgi.bundle,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile2973329477037195447.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile2973329477037195447.jar
Problems downloading artifact: org.eclipse.update.feature,org.sonarlint.eclipse.jdt.feature,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile3813953023431269284.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile3813953023431269284.jar
Multiple problems occurred while downloading.
Problems downloading artifact: osgi.bundle,org.sonarlint.eclipse.ui,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile2856785053535567564.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile2856785053535567564.jar
Problems downloading artifact: osgi.bundle,1.0.0.20151015-1547-RELEASE.
Error reading signed content:/tmp/signatureFile926091848739346317.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile926091848739346317.jar
Problems downloading artifact: osgi.bundle,org.sonarsource.sonar-runner.api,2.5.0.RC1.
Error reading signed content:/tmp/signatureFile5472753215186133584.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile5472753215186133584.jar

我尝试安装 sonarlint 1.0.0 版,但仍然遇到同样的问题。

感谢您的帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...