2015-09-07 149 views
10

操作无法完成。看到细节。Maven无法正确安装

无法完成安装,因为找不到一个或多个必需项目。正在安装

软件:M2E - Maven的集成为Eclipse(包括孵化组件)1.6.1.20150625-2338(org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338) 缺少要求:Maven的集成为Eclipse 1.6.0.20150526-2032(org.eclipse.m2e.core 1.6.0.20150526-2032)需要'bundle org.eclipse.osgi 3.10.0',但找不到 缺少要求:Eclipse的Maven Integration 1.6.1.20150625-2338 (org.eclipse.m2e.core 1.6.1.20150625-2338)需要'bundle org.eclipse.osgi 3.10.0'但无法找到 无法满足依赖关系: From:Maven Integration for Eclipse 1.6.1.20150625-2338( org.eclipse.m2e.core.ui 1.6.1.20150625-2338) To:bundle org.eclipse.m2e.core [1.6.0,1.7.0) 无法满足依赖关系: From:m2e - Eclipse的Maven Integration(包括孵化组件)1.6.1.20150625-2338(org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338) To:org.eclipse.m2e .core.ui [1.6.1.20150625-2338]

+0

在面对同样的错误后,我发现当前版本的m2e远远领先于我的eclipse版本,为了避免这个错误,我不得不解决一个较小版本的m2e。所以对于我来说,如果我想使用当前版本,我需要获得更新版本的eclipse。在这种情况下,取消选中隐藏以前版本的eclipse中的框肯定是你的朋友。 – demongolem

回答

13

你可以尝试运行Eclipse作为管理员,然后再试一次吗?让我知道那是怎么回事。

什么是您使用的更新网址,这是它m2eclipse.sonatype.org/sites/m2e

编辑:

有Eclipse和插件的不同vertions incompltibilities,

我建议你使用更新站点

http://download.eclipse.org/technology/m2e/milestones/1.0

OR

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

最好的选择是发布版本,但如果您仍然遇到问题,请尝试里程碑1.

+0

是的新的一个 maven的环境变量也不能在cmd中工作? –

+0

@NaveenDissanayake你不需要将maven作为你的环境变量来在Eclipse中使用m2e插件。你试过我的回答吗? –

+0

是的,我仍然同样的问题上升? –