【问题标题】:Eclipse m2e plugin seems to require org.eclipse.jem.util 0.0.0Eclipse m2e 插件似乎需要 org.eclipse.jem.util 0.0.0
【发布时间】:2013-04-16 16:26:22
【问题描述】:

我尝试使用帮助 > 安装新软件和更新站点 http://download.eclipse.org/technology/m2e/releases 为 Eclipse Juno 安装 M2E 插件。当我尝试安装“Eclipse 的 Maven 集成”时,我收到以下消息:

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
  Missing requirement: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424
  (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424) requires
  'org.eclipse.jem.util 0.0.0' but it could not be found

如何避免此错误并安装 M2E 插件?

【问题讨论】:

    标签: java eclipse maven


    【解决方案1】:

    这个问题是因为我的 Eclipse 安装目录没有 可写。这是一个全新的未配置的开箱即用安装,我有 在 Linux 上将其安装在 /opt/eclipse 下。但是,Eclipse 期望写入 configurationp2 安装目录的子目录,除非 否则配置,如果这些不是,它不会给出任何明显的错误 可写入。

    您可以通过确保您的用户可以写入安装来避免此错误 Eclipse 目录。

    【讨论】:

    • 感谢您提供的方便提示!我将 Eclipse 安装到 root 拥有的文件夹(希望在用户之间共享),因此将其启动为 sudo 然后运行安装对我有用。
    • 这也解决了我的问题。我已将 eclipse 移到 OSX 上的“应用程序”目录中。这当然不能由应用程序本身写入。我的解决方案是将 eclipse 移动到我的文档目录。
    【解决方案2】:

    即使在运行具有完全权限的 Eclipse 实例时,我也遇到了同样的问题。 真正解决我的问题的是提供 Eclipse 更新站点(即在我的情况下......)

    http://download.eclipse.org/releases/helios/
    

    ...除了 Maven 更新站点本身:

    http://download.eclipse.org/technology/m2e/releases
    

    【讨论】:

      猜你喜欢
      • 2012-05-11
      • 2012-10-15
      • 2015-01-05
      • 1970-01-01
      • 2013-09-28
      • 1970-01-01
      • 2017-12-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多