Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven for Eclipse (M2E) Installation error

Error Details:

Cannot complete the install because one or more required items could not be found. Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) Missing requirement: Maven Integration for Eclipse (Editors) 1.4.0.20130601-0317 (org.eclipse.m2e.editor 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) To: org.eclipse.m2e.editor [1.4.0.20130601-0317]`

Getting the above mentioned error when installing M2E in Eclipse. The M2E URL that I used is http://download.eclipse.org/technology/m2e/releases

like image 711
Maruthi Ram Avatar asked Sep 21 '13 15:09

Maruthi Ram


People also ask

What is m2e in Maven?

m2e stands for maven to eclipse plugin.

What is m2e in Eclipse?

M2Eclipse provides tight integration for Apache Maven into the Eclipse IDE with the following features: Rich editor for pom. xml files. Launching Maven builds from within Eclipse. Dependency management for Eclipse build path based on Maven's pom.


2 Answers

As of late 2011, the M2Eclipse project was donated to the Eclipse foundation by Sonatype and is now called simply M2E. As of the Indigo JEE SR2 release, this plugin can be found in the pre-configured "Indigo" update site contained inside Eclipse, so you don't have to add any new update site.

To install, do the following:

  • Launch Eclipse; select the Help->Install New Software menu item.
  • Select the "Indigo" update site and wait for the software choices to pop up in the table in the lower portion of this "Install" dialog (it can take up to a minute).
  • In the table, select "General Purpose Tools" and then "M2E - Maven Integration for Eclipse", click Next and finish the installation of the plugin.
  • Restart Eclipse as directed.
like image 140
HDave Avatar answered Sep 25 '22 13:09

HDave


Sometimes, for older Eclipse, like Helios, version 1.5 or 1.4 throws similar error. You can try with 1.3 in that case :

http://download.eclipse.org/technology/m2e/releases/1.3
like image 42
Snehal Masne Avatar answered Sep 24 '22 13:09

Snehal Masne