您的位置:首页 > 编程语言 > Java开发

Eclipse安装Maven插件报错解决办法

2014-12-19 15:31 323 查看
从官网查到,Maven2Eclipse插件的下载地址是:http://download.eclipse.org/technology/m2e/releases,于是根据该地址进行安装:

<启动Eclipse,在菜单栏中选择Help,然后选择Install New Software…,可以看到一个Install对话框,点击Work with:字段边上的Add按钮,会得到一个新的Add Repository对话框,在Name字段中输入m2e,Location字段中输入http://download.eclipse.org/technology/m2e/releases,然后点击OK。Eclipse会下载m2eclipse安装站点上的资源信息。

选择“Maven Integration for Eclipse”后点击Next;Eclipse会自动计算模块间的依赖关系.>

结果报错:

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:…

这是因为安装的maven版本相对eclipse版本来说太新了(我的Eclipse3.7),因此可以选择3个解决方案:

1、 Eclipse升级到4.X版本;

2、 离线安装,参考http://blog.csdn.net/wode_dream/article/details/38052639

3、 降低m2e版本,安装1.3或1.4:

http://download.eclipse.org/technology/m2e/releases/1.4或1.3

我安装成功的是1.3版本。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐