Error: m2e Install In Eclipse

2019-01-08 06:13发布

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]

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

Please help.

Edit

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.

11条回答
看我几分像从前
2楼-- · 2019-01-08 06:43

I had this problem with the latest version of eclipse Indigo 64bit. I solved installing the latest version of eclipse Juno 64bit.

查看更多
在下西门庆
3楼-- · 2019-01-08 06:45

Plugin team has created a fix for m2e 1.4 & Eclipse Indigo (with this precision : Indigo is no longer officially supported for m2e) :

P2 repository : http://download.eclipse.org/technology/m2e/releases-for-indigo/1.4/

Reference : m2e-users mailing list

查看更多
ゆ 、 Hurt°
4楼-- · 2019-01-08 06:51

This is because maven 1.5 is not compatible with current eclipse version. So we need to use maven 1.4 or 1.3

Steps to install maven 1.4 is below

1)Click Help in eclipse

2)Install New Software

3)Url for the location of site is "http://download.eclipse.org/technology/m2e/releases"

4)Uncheck the checkbox "Show only the latest versions of available software" if do not uncheck the checkbox it will only latest version and do not show maven 1.4.

5)Select m2e and slf4j of 1.4 version and click next.

查看更多
放我归山
5楼-- · 2019-01-08 06:56

You can find the org.slf4j.api 1.6.4/1.7.2 on the Orbit repository, which is more reliable than other third party repositories.

查看更多
啃猪蹄的小仙女
6楼-- · 2019-01-08 07:00

If you're using eclipse Indigo -- It seems to be missing many files. If you download eclipse Kepler it seems to have the files that are lacking in Indigo. May suggest to switch.

查看更多
登录 后发表回答