不幸的是,我正在尝试在 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:
- 打开 Eclipse IDE
- 单击“帮助”->“安装新软件...”
- 点击右上角的添加按钮
- 在弹出窗口中:将名称填写为“M2Eclipse”,将位置填写为http://download.eclipse.org/technology/m2e/releases/1.4。
- 现在点击确定 之后将开始安装。
选项 2:-
- 打开 Eclipse
- 转到帮助 -> Eclipse 市场
- 通过 Maven 搜索
- 点击“Maven Integration for Eclipse”部分的“Install”按钮
- 按照说明一步一步来
安装成功后,在 Eclipse 中执行以下操作:
- 转到窗口 --> 首选项
- 观察,Maven 已在左侧面板中启用
最后,
- 点击现有项目
- 选择配置 -> 转换为 Maven 项目
关于java - 在eclipse juno中安装maven插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25454374/