无法为Eclipse安装Maven插件 [英] Unable to install Maven plugin for Eclipse

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

问题描述

我正在Ubuntu 12.04 LTS上使用Eclipse 3.7(indigo),我正在尝试安装Maven插件。

I'm working on Eclipse 3.7 (indigo) on Ubuntu 12.04 LTS, and I am trying to install the Maven plugin.

以下页面,我添加了 http://下载。 eclipse.org/technology/m2e/releases 到Eclipse安装新软件提示框。它识别了URL并显示了Maven Integration for Eclipse

Following this page, I added http://download.eclipse.org/technology/m2e/releases to the Eclipse Install new software prompt box. It recognised the URL and showed "Maven Integration for Eclipse"

但是当我点击Next时,会出现此错误。

But when I click on Next, it gives this error.

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
  Missing requirement: Maven Integration for Eclipse (Editors) 1.4.0.20130601-0317 (org.eclipse.m2e.editor 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
    To: org.eclipse.m2e.editor [1.4.0.20130601-0317]

我该怎么办?请帮助。

推荐答案

在安装新软件中使用以下URL作为存储库: http://download.eclipse.org/technology/m2e/releases/1.3
我尝试了它,它的工作,没有更多的错误。

Use the following URL in the "Install New Software" as a repository instead: http://download.eclipse.org/technology/m2e/releases/1.3. I tried it and it works, no more errors.

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

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