【问题标题】:Unable to install Maven plugin for Eclipse [duplicate]无法为 Eclipse 安装 Maven 插件 [重复]
【发布时间】:2013-08-13 13:02:17
【问题描述】:

我正在 Ubuntu 12.04 LTS 上开发 Eclipse 3.7 (indigo),我正在尝试安装 Maven 插件。

this 页面之后,我将http://download.eclipse.org/technology/m2e/releases 添加到Eclipse 安装新软件提示框中。它识别 URL 并显示“Maven Integration for Eclipse”

但是当我点击下一步时,它给出了这个错误。

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
  Missing requirement: Maven Integration for Eclipse (Editors) 1.4.0.20130601-0317 (org.eclipse.m2e.editor 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
    To: org.eclipse.m2e.editor [1.4.0.20130601-0317]

我该怎么办?请帮忙。

【问题讨论】:

  • Eclipse Indigo 有什么味道?如果它是标准的,您可能想尝试使用适用于 Java EE 开发人员的 Eclipse IDE,它包含更多的包,并且您更有可能附带已经捆绑的缺失依赖项
  • 这是从 Ubuntu 12.04 存储库安装的 eclipse。
  • 我建议您在eclipse.org/downloads 尝试使用 Eclipse IDE for Java EE Developers

标签: eclipse maven ubuntu-12.04


【解决方案1】:

在“安装新软件”中使用以下 URL 作为存储库:http://download.eclipse.org/technology/m2e/releases/1.3。 我试过了,它工作正常,没有更多错误。

【讨论】:

    【解决方案2】:

    这是eclipse的大问题,因为eclipse大多支持其他Maven

    这只是 eclipse heilios 的插件

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

    【讨论】:

    • 未找到 :-( 我需要另一个解决方案谢谢
    • 去Eclipse市场搜索Maven并根据Eclipse下载。
    【解决方案3】:

    在 Eclipse 市场使用这个 URL:- http://download.eclipse.org/technology/m2e/releases/1.3/

    它将在eclipse上成功安装maven插件,没有任何错误。

    【讨论】:

      【解决方案4】:

      似乎无法下载slf4j相关的工件,现在您可以在安装maven插件时取消选中该复选框。

      请看附图。

      如果它也不起作用,请手动下载插件并将其放入 eclipse 插件文件夹中。

      【讨论】:

      • 您提供的第一个链接出现 404 错误。
      • 未找到 :-( 我需要另一个解决方案谢谢
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-03
      • 2011-10-30
      • 1970-01-01
      • 2012-02-24
      • 1970-01-01
      相关资源
      最近更新 更多