当前位置: 首页 > 知识库问答 >
问题:

如何在Eclipse中安装M2E-Maven集成?

易书
2023-03-14

我正试图通过Eclipse中的存储库安装(帮助)来安装插件-

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002)
  Missing requirement: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle org.eclipse.core.resources 3.9.0' but it could not be found
  Missing requirement: Maven Integration for Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e.core 1.6.1.20150625-2338) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
  Missing requirement: Maven Integration for Eclipse 1.6.2.20150902-0002 (org.eclipse.m2e.core 1.6.2.20150902-0002) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: m2e Marketplace 1.6.2.20150902-0002 (org.eclipse.m2e.discovery 1.6.2.20150902-0002)
    To: bundle org.eclipse.m2e.core [1.6.0,1.7.0)
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002)
    To: org.eclipse.m2e.discovery [1.6.2.20150902-0002]

我尝试查找有关guava捆绑包的信息,但无法在Eclipse marketplace中搜索这些信息,也无法在那里找到任何我可以从中安装的repo。

我正在使用EclipseJunoSR2。我读过Eclipse的某些版本无法安装guava捆绑包,但没有读到Juno是其中之一。

共有2个答案

贺景山
2023-03-14

您正在尝试将最新版本的m2e安装到非常旧的Eclipse版本中;这两者不相容。您有两种选择:

  1. 安装Eclipse的新版本。Java和JavaEE包都包含m2e,因此您无需做任何事情即可将其安装到其中。此外,您还可以在Eclipse和m2e中获得最新的特性和错误修复
  2. 安装与Juno Eclipse版本兼容的m2e版本。要在安装新软件时执行此操作。。。向导中,选择要使用的Juno存储库(而不是m2e存储库),然后在选项列表中搜索m2e
逑和蔼
2023-03-14

Juno仅支持1.3版本。从这里下载。

下载日食org/technology/m2e/releases/1.3

 类似资料:
  • 无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:M2E-Maven Integration for Eclipse 1.4.0.20130601-0317(org.Eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)缺少要求:Maven Integration for Eclipse(Editors)1.4.0.20130601

  • 问题内容: 我想在Eclipse上安装Maven插件。但是,当在“安装软件”部分中添加Maven站点并开始下载并安装它时,发生了有关依赖项的错误。如何解决?我想要完整的安装指南… 问题答案: 首先,缺少哪些依赖项?eclipse的一个很好的maven插件是eclipse maven声纳类型m2eclipse。

  • 1)错误消息- 无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:M2e-WTP-Maven Integration for WTP 1.0.1.20130911-1545(org.Eclipse.m2e.WTP.feature.feature.group 1.0.1.20130911-1545)缺少要求:Maven Integration for Eclipse WTP 1.0.1.

  • 我正在使用Eclipse Helios。我需要在eclipse上安装Maven插件。 我使用以下更新网址:http://download.eclipse.org/technology/m2e/releases 无法完成安装,因为找不到一个或多个必需项。正在安装的软件:用于Eclipse1.4的m2e-Maven集成。0.20130601-0317(org.eclipse.m2e.feature.f

  • 目前,我使用的是安装在windows机器中的maven(Apache maven 3.3.9)&Java(Java版本:1.8.0_91)。我有一个java应用程序,它是使用java版本1.6.0_31开发的。 由于Apache maven(3.3.9)与以前的Java版本(1.8之前的版本)不直接兼容,所以我包含了toolchains插件来编译和运行Java1.6的项目。我可以使用命令提示符成功