Error: m2e Install In Eclipse

EclipseJakarta EeM2e

Eclipse Problem Overview


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.

Eclipse Solutions


Solution 1 - 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 -> Help -> Install New Software
  2. Add a new software site:
  1. Expand "Maven osgi-bundles" and select "slf4j-api"
  2. Click "Next" and follow the installation.

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

UPDATE:

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 :)

Solution 2 - Eclipse

Use the software update site as http://download.eclipse.org/technology/m2e/releases/1.0 That worked for me and got away with the exact same error message.

Solution 3 - Eclipse

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

Solution 4 - Eclipse

Using Helios, and I used this repository to download Maven Integration For Eclipse with no problems.

http://download.eclipse.org/technology/m2e/releases/1.3

Solution 5 - Eclipse

That mean the folder eclipse/plugins missing "org.slf4j.api_1.6.4.v20120130-2120.jar", so you need copy the file to eclipse/plugins!

Solution 6 - Eclipse

Ubuntu 13.04, Eclipse 3.8.1. For Step 3 all I had to do was add the main juno download site: http://download.eclipse.org/releases/juno and m2e can be installed from there.

Solution 7 - Eclipse

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.

Solution 8 - Eclipse

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.

Solution 9 - Eclipse

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

Solution 10 - Eclipse

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.

Solution 11 - Eclipse

The reason Maven can't resolve slf4j is because Maven can't find it in available software site. That is why the suggestion of @Lasse to use another software site works. I would like to point out that the basic root cause is because the atlassian documentation is out-of-date now. So we can just use the latest version of Maven. Reference: https://stackoverflow.com/questions/18934503/maven-for-eclipse-m2e-installation-error

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRachel_FranzView Question on Stackoverflow
Solution 1 - EclipseLasse ChristiansenView Answer on Stackoverflow
Solution 2 - EclipseSashikaXPView Answer on Stackoverflow
Solution 3 - EclipseAlix LourmeView Answer on Stackoverflow
Solution 4 - EclipseBryanView Answer on Stackoverflow
Solution 5 - EclipseDo Tat HoanView Answer on Stackoverflow
Solution 6 - Eclipseuser3166249View Answer on Stackoverflow
Solution 7 - EclipserajeeshView Answer on Stackoverflow
Solution 8 - EclipseTyguyView Answer on Stackoverflow
Solution 9 - EclipseJoseAntonio1984View Answer on Stackoverflow
Solution 10 - EclipseaphexView Answer on Stackoverflow
Solution 11 - EclipsePowpowView Answer on Stackoverflow