【问题标题】:mercurial plugin in eclipse- Cannot satisfy dependency Erroreclipse中的mercurial插件 - 无法满足依赖错误
【发布时间】:2018-06-27 02:40:30
【问题描述】:

我在尝试通过安装 Eclipse 的新软件使用以下站点安装 mercurialEclipse 插件时遇到以下问题。

mercurial 网站 - https://bitbucket.org/mercurialeclipse/update-site/raw/default/

Eclipse 版本-Luna Service Release 2 (4.4.2)

    Error - Cannot complete the install because one or more required items could not be found.
    Software currently installed: MercurialEclipse 2.5.2.201806082050 (mercurialeclipse.feature.group 2.5.2.201806082050)
    Missing requirement: MercurialEclipse 2.5.2.201806082050 (com.vectrace.MercurialEclipse 2.5.2.201806082050) requires 'bundle org.eclipse.jface.text 3.11.0' but it could not be found
    Cannot satisfy dependency:
    From: MercurialEclipse 2.5.2.201806082050 (mercurialeclipse.feature.group 2.5.2.201806082050)
    To: com.vectrace.MercurialEclipse [2.5.2.201806082050]

请帮我解决。

另外请注意,我的系统上已经安装了 TortoiseHg。而且我已经从下面的链接中获得了帮助,但没有任何运气-

error in installing mercurial plugin for eclipse

Mercurial Eclipse Plugin

【问题讨论】:

    标签: eclipse eclipse-plugin mercurialeclipse


    【解决方案1】:

    错误消息的关键部分是“需要'bundle org.eclipse.jface.text 3.11.0'”。

    这意味着至少需要 org.eclipse.jface.text 插件的 3.11.0 版本。这个版本的插件最初是在 Eclipse Neon (4.6) 中发布的——所以你的 Eclipse Luna 太旧了。您需要迁移到更新版本的 Eclipse 才能使用此插件。

    【讨论】:

    • 谢谢,但我的队友使用 Luna 和 mercurial 版本 2.1.0 - 但我不确定它的正确更新站点。移到霓虹灯会看到。
    • Neon 仍然很旧,如果您要进行更改,您应该迁移到当前版本(Eclipse Oxygen.3a 或 Eclipse Photon,将于今天(27/6/2018)某个时间发布)。
    【解决方案2】:

    我是 MercurialEclipse 的当前维护者。正如 Greg 所说,您正面临此错误消息,因为您尝试在不兼容的平台上安装插件。

    最后几个主要版本需要使用 Neon,这是可预见的未来的基准。对 Neon 的这种要求反过来是由于 JavaHg (如果我没记错的话)Eclipse 本身对 Java 8 的要求。

    很遗憾,用户无法获得更明确的错误消息,例如“此插件需要 Eclipse Neon 或更高版本”。

    仅供参考,发行说明发布在您在 Bitbucket 上链接到的网站上。您还可以在 Wiki 中找到带有 Mercurial 和 Eclipse 的 compatibility table。我还会在发送发布公告电子邮件时说明要求或其他影响更改。

    【讨论】:

      【解决方案3】:

      这不是很好的解决方案,但我可以看到它有效:只需询问其他人复制 2.1 版本文件给您,您可以将它们放在 eclipse 功能和插件文件夹中。

      文件是:
      1. \features\mercurialeclipse_2.1.0.201304290948
      2.\plugins\com.vectrace.MercurialEclipse_2.1.0.201304290948.jar

      【讨论】:

      • 如果您在这种情况下必须使用一些旧版本的 eclipse 基于基于 Eclipse 3.7.2 的 Spring 工具套件 2.9.0 版 - 您只需下载 storage.googleapis.com/google-code-archive-downloads/v2/… 并放置这在springsource/sts-2.9.0.RELEASE/plugins 中并重新启动 sts - 由于@Greg-449 的回答,上述建议均无效
      猜你喜欢
      • 2018-10-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-15
      • 2022-12-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多