[英]m2e extension is not installing in Eclipse Luna
当我安装m2e扩展程序时,它给我以下错误:
我正在使用此URL下载: http : //download.eclipse.org/technology/m2e/releases
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 com.google.guava [14.0.1,16.0.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
Cannot satisfy dependency:
From: m2e Marketplace 1.6.1.20150625-2338 (org.eclipse.m2e.discovery 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.discovery [1.6.1.20150625-2338]
尝试使用以下链接: http : //download.eclipse.org/technology/m2e/releases/1.4
您可能正在使用旧版本的eclipse,并尝试安装最新版本的maven。
什么安装M2E 1.6.2当到Eclipse 4.2.2(LUNA SR2)工作对我来说是添加轨道项目番石榴:从轨道工程安装M2E 前 谷歌核心库的Java 15.0捆绑到Eclipse中。
(我最初得到的安装错误是说m2e 1.6.2正在寻找Guava 14捆绑包,我无法在任何推荐的Orbit版本中找到该捆绑包,但是到目前为止,Guava 15似乎运行良好,实际上Guava 15捆绑包是用于Java开发人员的Luna SR2 Eclipse IDE所使用的工具。)
我将此网址用于Luna SR2的Orbit构建存储库: http : //download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/
这个特定的链接可能会随着时间的推移而变得不稳定,或者您可能由于不同版本的Eclipse或m2e的问题而正在阅读此链接,因此在这种情况下,最好查看Orbit下载页面以找到正确的Orbit构建版本,匹配您的Eclipse版本。
对于那些不熟悉Eclipse的人,这是我逐步将Orbit Guava软件包安装到Eclipse 4.4.2中的步骤:
在Eclipse菜单中:帮助>安装新软件...
单击添加按钮。 在出现的对话框中,输入:
点击确定
将此存储库添加到Eclipse配置后,m2e功能部件安装过程将能够自动查找并安装Guava软件包。
m2e安装可能还希望更新其他软件包,因此,在安装m2e功能之前,最好先提供Eclipse Luna更新站点:
还值得注意的是,M2e 1.6.x发行版包含在Mars中,而1.5.x包含在Luna中,因此使用1.5发行版而不是1.6发行版可能是比较保守的选择。
我可以给你一个快速的答案:忽略该错误。
实际上,我不太确定这是否是正确的解决方案,但至少对我而言,它工作得很好。 我正在分享我的案件,因为这可能会帮助某人。
在安装m2e扩展程序时,遇到了与您遇到的相同的错误消息。 但是我忽略了该错误,因此能够继续安装。 然后安装成功完成。
单击并查看图像: 安装Remadiation页面
单击“显示原始错误...”时,我看到了错误。 但我认为可以选择“继续安装...”,然后单击“下一步”继续
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.