Maven for Eclipse 1.5.0插件无法安装在开普勒之下 [英] Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler

查看:405
本文介绍了Maven for Eclipse 1.5.0插件无法安装在开普勒之下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了Eclipse Kepler,并尝试从其更新站点安装M2Eclipse。

I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site.

选择Maven Integration for Eclipse后,我点击了下一步,并出现以下错误:

After selecting Maven Integration for Eclipse, I clicked Next and got the following error:


缺少要求:Maven集成为Eclipse 1.5.0.20140606-0033(org.eclipse.m2e.core 1.5.0.20140606-0033)需要'bundle com.google.guava [14.0.1,16.0.0]'但无法找到

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

所以我通过互联网搜索了解如何安装Guava Eclipse插件。有人说这是从Eclipse市场,但它不能下载。我下载了二进制,并尝试将其复制到Eclipse的插件目录中。仍然是一样的结果。

So I searched through the internet to find out how to install the Guava Eclipse plugin. Some say it's from the Eclipse marketplace, but it cannot be downloaded. I downloaded the binary and tried to copy it to Eclipse's plugin directory. Still the same result.

cp ~/Downloads/guava-16.0.1.jar /Applications/eclipse/plugins/com.google.guava_16.0.1.v1234.jar

如何为开普勒安装m2e插件? p>

How do I install the m2e plugin for Kepler?

推荐答案

m2e 1.5.0 需要Eclipse Luna 。它不能与开普勒或靛蓝一起工作。 (感谢 @HDave 的链接)

m2e 1.5.0 requires Eclipse Luna. It will not work with Kepler or Indigo. (thanks to @HDave for the link)

所以你必须在开普勒之下使用较旧版本的m2e。

So you have to use an older version of m2e under Kepler.

在安装过程中,取消选中仅显示最新版本的可用软件。然后只检查候选列表中的1.4.1版本或更低版本。它不需要Guava依赖。

During installation, uncheck "Show only the latest versions of available software". Then only check the 1.4.1 version or lower version in the candidate list. It doesn't require the Guava dependency.

这篇关于Maven for Eclipse 1.5.0插件无法安装在开普勒之下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆