[英]Install maven plugin in eclipse juno
我正在尝试在 eclipse 中安装 maven 1.5 不幸的是我收到如下错误:
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.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
To: org.eclipse.m2e.core [1.5.0.20140606-0033]
EClipse juno 不支持 maven 1.5..仍然没有添加 1.5 的功能
所以试试 1.4 或 1.3
http://download.eclipse.org/technology/m2e/releases/1.3
http://download.eclipse.org/technology/m2e/releases/1.4
Maven 安装
选项1 :
选项 2 :-
安装成功后,在 Eclipse 中执行以下操作:
最后,
这是因为 maven 1.5 与 eclipse juno 不兼容。 所以我们需要使用maven 1.4或者1.3
安装 maven 1.4 的步骤如下
注意: maven v 1.3 是兼容的,juno 的正确 url:download.eclipse.org/technology/m2e/releases/1.3
如果以上所有选项都不起作用,那么首先在你的 eclipse 中安装 WST 插件。
为此,在 Eclipse Juno 中,转到Install New Software > Add
,在Name
place Juno
和Location URL
插入http://download.eclipse.org/releases/juno
。
然后,在Web, XML, Java, ...
(列表的最后一个选项)下选择WST Server Adapters
。
接受许可协议并重新启动 Eclipse。
然后继续安装 Maven 的通常过程。
选择菜单Help \\ Install New Software...
,然后添加此存储库链接:
http://download.eclipse.org/technology/m2e/releases/1.2/1.2.0.20120903-1050/
然后安装 Eclipse WTP(Web 工具平台)Juno 4.2。
取消选中“仅选择此软件的最新版本”选项,以便显示与您的 eclipse 兼容的插件版本,您可以选择其中之一。
download.eclipse.org/technology/m2e/releases/1.3
曾为 Eclipse Java EE IDE for Web Developers 工作过。
版本:Indigo Service Release 2 版本号:20120216-1857
谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.