eclipse Maven 无法正确安装

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32430859/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 22:50:40  来源:igfitidea点击:

Maven couldn't installed correctly

javaeclipsemaven

提问by Naveen Dissanayake

The operation cannot be completed. See the details.

操作无法完成。查看详情。

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.1.20150625-2338 (org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338) Missing requirement: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle org.eclipse.osgi 3.10.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 org.eclipse.osgi 3.10.0' but it could not be found Cannot satisfy dependency: 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) Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse (includes Incubating components) 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]

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

正在安装的软件:m2e - Eclipse 的 Maven 集成(包括孵化组件)1.6.1.20150625-2338 (org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338) 缺少要求:Eclipse 的 Maven 集成 1.6.0.2620150 (org.eclipse.m2e.core 1.6.0.20150526-2032) 需要 'bundle org.eclipse.osgi 3.10.0' 但找不到 缺少要求:Maven Integration for Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e .core 1.6.1.20150625-2338) 需要 'bundle org.eclipse.osgi 3.10.0' 但找不到它无法满足依赖:来自:Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e.core. ui 1.6.1.20150625-2338) 至:bundle org.eclipse.m2e.core [1.6.0,1.7.0) 无法满足依赖:来自:m2e - Eclipse 的 Maven 集成(包括孵化组件)1.6.1.20150625-2338(org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338)至:org.eclipse.m2e.core.ui [1.6.1.25015015第2338章

回答by diyoda_

Can you try running Eclipseas Admin and try this again?. Let me know how that goes.

您可以尝试Eclipse以管理员身份运行并再试一次吗?让我知道这是怎么回事。

what is the update url are you using, is this it m2eclipse.sonatype.org/sites/m2e?

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

Edit:

编辑:

There are incompltibilities with different vertions of Eclipse and plugins,

不同版本的 Eclipse 和插件存在不兼容性,

I suggest you to use the update site

我建议你使用更新站点

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

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

OR

或者

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

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

The best bet is the release version, But if you are still getting the issue, try the milestone 1.

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