在Windows 7上在Eclipse中安装Maven时出错

时间:2016-04-02 12:14:15

标签: java eclipse maven

我一直在尝试安装Maven Integration for Eclipse(juno)并且我收到了这些错误。

    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]

我试过这个 1.Eclipse - >帮助 - >安装新软件 2.添加新软件站点:

3.Expand" Maven osgi-bundle"并选择" slf4j-api" 4.点击"下一步"并按照安装。

它适用于ubuntu,但在Windows中却说

    Cannot complete the request.  See the error log for details.
    "slf4j-api" will be ignored because it is already installed.

怎么做

1 个答案:

答案 0 :(得分:0)