错误:m2e安装在Eclipse中 [英] Error: m2e Install In Eclipse

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

问题描述

我一直在尝试安装Maven Integration for Eclipse,并收到这些错误。

I've been attempting to install Maven Integration for Eclipse and I've received these errors.

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

我的过程已经帮助>> EclipseMarketplace >>搜索Maven Integration for Eclipse>>安装(m2e)

My process has been Help >> EclipseMarketplace >> Search "Maven Integration for Eclipse" >> Install (m2e)

请帮助。

编辑

在遇到过多问题后,决定卸载Eclipse Indigo 3.6.2并安装Indigo 3.7(按照我目前工作的公司)。在采取此行动之后,安装(maven和其他)的所有问题都得到解决。

After running into a plethora of issues, the decision was made to uninstall Eclipse Indigo 3.6.2 and install Indigo 3.7 (as per the standards of the company I currently work at). After taking this course of action, all issues with installations (maven and otherwise) were resolved.

推荐答案

我今天遇到了类似的问题,发现这个问题最近也被问到并在 atlassian论坛。我的解决方案是根据指南从这个博客安装slf4j发布关于SLF4J登录Eclipse插件。

I ran into a similar issue today and found that this question also has recently been asked and answered at the atlassian forum as well. My solution was to install slf4j based on guidelines from this blog post about "SLF4J Logging in Eclipse Plugins".

要解压缩,这里是我所做的:

To extract, here is what I did:


  1. Eclipse - >帮助 - >安装新软件

  2. 添加新的软件网站:

  1. Eclipse -> Help -> Install New Software
  2. Add a new software site:
    • Name: slf4j
    • Url: http://www.fuin.org/p2-repository/

安装完成后Eclipse已经重新启动)然后我可以安装maven插件。

After the installation has completed (and Eclipse has been restarted) I was then able to install the maven plugin.

更新:

此线程中的其他一些答案现在包含官方软件包存储库的链接。我没有测试他们是否正在工作,但是如果您更喜欢使用官方的存储库,现在您知道在哪里找到它们:)

Some of the other answers in this thread now contain links to offical package repositories. I haven't tested if they are working, but if you would prefer to use an official repository, now you know where to find them :)

这篇关于错误:m2e安装在Eclipse中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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