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

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

问题描述

我一直在尝试为 Eclipse 安装 Maven 集成,但收到了这些错误.

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]

我的过程是 Help >> EclipseMarketplace >> Search "Maven Integration for Eclipse" >> Install (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 从此博客发布关于Eclipse插件中的SLF4J日志记录".

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. 添加新的软件站点:

安装完成(并且 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 :)

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

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