Error: m2e Install In Eclipse

I am trying to install Maven Integration for Eclipse and I got 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 was Help -> EclipseMarketplace -> Search "Maven Integration for Eclipse" -> Install (m2e)

Please, help.

Edit

After many problems, it was decided to remove Eclipse Indigo 3.6.2 and install Indigo 3.7 (in accordance with the standards of the company in which I currently work). After performing this step, all installation problems (maven, etc.) were resolved.

+75
eclipse java-ee m2e
Jun 27 '13 at 20:21
source share
11 answers

Today I ran into a similar problem and found that this question was also recently asked and answered in the atlassian forum. My solution was to install slf4j based on the recommendations from this blog post about "SLF4J Registering in Eclipse Plugins".

To extract, here is what I did:

  • Eclipse → Help → Install New Software
  • Add new site:
  • Expand "Maven osgi-bundles" and select "slf4j-api"
  • Click "Next" and complete the installation.

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

UPDATE:

Some other answers in this thread now contain links to official package repositories. I have not tested if they work, but if you prefer to use the official repository, now you know where to find them :)

+120
Aug 01 '13 at 12:25
source share

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

+25
Aug 09 '13 at 14:31 on
source share

The plugin team has created a fix for m2e 1.4 and Eclipse Indigo (with such accuracy: Indigo is no longer officially supported for m2e):

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

Link: m2e-users mailing list

+20
Sep 11 '13 at 14:44
source share

Using Helios, and I used this repository to download Maven Integration for Eclipse without any problems.

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

+10
Oct 30 '13 at 17:38
source share

This means that there is no "org.slf4j.api_1.6.4.v20120130-21-2120.jar" in the eclipse / plugins folder, so you need to copy the file to eclipse / plugins!

+6
Jul 01 '13 at 14:23
source share

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.

+5
Jan 6 '14 at 17:05
source share

If you use eclipse Indigo - it seems that many files are missing. If you download the eclipse Kepler, it seems to have files that are not in Indigo. May offer to switch.

+3
Jul 09 '13 at 18:26
source share

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

Maven 1.4 installation steps below

1) Click "Help" in eclipse

2) Install new software

3) Site location URL: http://download.eclipse.org/technology/m2e/releases "

4) Uncheck "Show only the latest versions of available software" if you do not uncheck, it will only be the latest version and do not display maven 1.4.

5) Select m2e and slf4j version 1.4 and click Next.

+3
Jan 29 '15 at 6:37
source share

I had this problem with the latest version of eclipse Indigo 64 bit. I decided to install the latest version of eclipse Juno 64bit.

+1
Jan 03 '14 at 8:07
source share

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

+1
Mar 05 '14 at 16:37
source share

The reason Maven cannot solve slf4j is because Maven cannot find it on an accessible software site. This is why @Lasse's suggestion to use a different software site works. I would like to point out that the main reason is that the atlassian documentation is out of date. Therefore, we can use the latest version of Maven. Reference: Maven Error for Eclipse (M2E)

0
Aug 04 '16 at 14:34
source share



All Articles