无法安装maven

时间:2015-05-26 11:20:20

标签: java eclipse maven m2e

我无法在eclipse中安装maven。我试过安装 “http://download.eclipse.org/technology/m2e/releases”网址

我收到以下错误。

 Cannot complete the install because one or more required items could not be   found.
 Software being installed: m2e - slf4j over logback logging (Optional) 1.5.2.20150413-2215 (org.eclipse.m2e.logback.feature.feature.group 1.5.2.20150413-2215)
  Missing requirement: m2e logback configuration 1.5.2.20150413-2215 (org.eclipse.m2e.logback.configuration 1.5.2.20150413-2215) requires 'bundle ch.qos.logback.slf4j 0.9.24' but it could not be found
  Cannot satisfy dependency:
   From: m2e - slf4j over logback logging (Optional) 1.5.2.20150413-2215 (org.eclipse.m2e.logback.feature.feature.group 1.5.2.20150413-2215)
To: org.eclipse.m2e.logback.configuration [1.5.2.20150413-2215]

1 个答案:

答案 0 :(得分:0)

我认为我有类似的问题,并在互联网上找到了可行的解决方案。它如下:

Help->Install New Software->Add
    Name: slf4j
    Location: http://www.fuin.org/p2-repository/

    choose Maven osgi-bundles->slf4j-api

安装,重新启动eclipse。这一步应该没问题。

在我的情况下,我必须安装2个以上的依赖项,但我认为在您的情况下没有必要(除非您尝试将Maven与RTC客户端集成 - 我可以逐步向您发送解决方案; - ))