Eclipse无法安装Subclipse插件

Cannot install Subclipse plug-in in Eclipse

我无法从 "install new software" 和 Eclipse Marketplace 安装 Subclipse。

当我尝试安装 Subclipse 4.2.3 时,我得到了这个:


对于第二个选项 "Update my installation to be compatible with the items being installed":

对于第三个选项 "Show original error and build my own solution",我得到以下错误:

    Cannot complete the install because of a conflicting dependency.
  Software being installed: Subclipse 4.2.3.201707071932 (org.tigris.subversion.subclipse.feature.group 4.2.3.201707071932)
  Software currently installed: Subversion Client Adapter (Required) 1.10.3 (org.tigris.subversion.clientadapter.feature.feature.group 1.10.3)
  Only one of the following can be installed at once: 
    Subversion Client Adapter 1.10.3 (org.tigris.subversion.clientadapter 1.10.3)
    Subversion Client Adapter 1.9.4.2 (org.tigris.subversion.clientadapter 1.9.4.2)
  Cannot satisfy dependency:
    From: Subversion Client Adapter (Required) 1.10.3 (org.tigris.subversion.clientadapter.feature.feature.group 1.10.3)
    To: org.tigris.subversion.clientadapter [1.10.3]
  Cannot satisfy dependency:
    From: Subclipse 4.2.3.201707071932 (org.tigris.subversion.subclipse.feature.group 4.2.3.201707071932)
    To: org.tigris.subversion.clientadapter [1.9.4.2]

(我想原因就在这里!我可能已经安装了某个版本的Subversion Client Adapter。但是我在Eclipse中看不到它。如果是这个问题,你能告诉我在哪里卸载它吗?)

我选择了第二个选项后,出现了这个错误:

    An error occurred while collecting items to be installed
session context was:(profile=C__Users_eclipse_jee-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.collabnet.subversion.merge,4.2.0.1
No repository found containing: osgi.bundle,com.trilead.ssh2,1.0.0.build220_r167_v20150618_1733
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter,1.9.4.2
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.javahl,1.9.4.1
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.svnkit,1.8.12.1
No repository found containing: org.eclipse.update.feature,org.tigris.subversion.clientadapter.svnkit.feature,1.8.12.1
No repository found containing: osgi.bundle,org.tigris.subversion.subclipse.core,4.2.3.201707071932
No repository found containing: org.eclipse.update.feature,org.tigris.subversion.subclipse,4.2.3.201707071932
No repository found containing: osgi.bundle,org.tigris.subversion.subclipse.ui,4.2.3.201707071932
No repository found containing: osgi.bundle,org.tmatesoft.sqljet,1.1.10.r1317_v20140121_0107
No repository found containing: osgi.bundle,org.tmatesoft.svnkit,1.8.12.r10533_v20160129_0158


当我尝试从“http://subclipse.tigris.org/update_1.10.x”安装 Subclipse 1.10.x 时,出现此错误:

An error occurred while collecting items to be installed
session context was:(profile=C__Users_eclipse_jee-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.javahl,1.8.15
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.javahl.win64,1.8.15
No repository found containing: osgi.bundle,org.tigris.subversion.subclipse.mylyn,3.0.0

我的环境:

您似乎安装了旧版本的 Subclipse(参见您的第二个屏幕截图)。

尝试先卸载旧版本:在帮助>关于Eclipse中单击安装详细信息,在选项卡 已安装的软件 select Subclipse、Subversion、SVN Adapters 等,然后单击 卸载...

我在更新 Eclipse SDP(RAD 和 RDi 捆绑包)后遇到了类似的问题,但我的安装详细信息中没有列出 Subclipse(尽管它在更新之前已安装)。从 eclipse Marketplace 重新安装 Subclipse,然后再次使用 "Install New Software" 提示解决了问题。