Unable to install Maven plugin for Eclipse [duplic

2019-06-21 18:44发布

问题:

This question already has an answer here:

  • Error: m2e Install In Eclipse 11 answers

I'm working on Eclipse 3.7 (indigo) on Ubuntu 12.04 LTS, and I am trying to install the Maven plugin.

Following this page, I added http://download.eclipse.org/technology/m2e/releases to the Eclipse Install new software prompt box. It recognised the URL and showed "Maven Integration for Eclipse"

But when I click on Next, it gives this error.

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]

What should I do? Please help.

回答1:

Use the following URL in the "Install New Software" as a repository instead: http://download.eclipse.org/technology/m2e/releases/1.3. I tried it and it works, no more errors.



回答2:

this is the big problem of eclipse because mostly eclipse support other Maven

this is plugins for eclipse heilios only

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



回答3:

In Eclipse market place use this URL:- http://download.eclipse.org/technology/m2e/releases/1.3/

It will install the maven plugin on eclipse successfully without any error.



回答4:

It seems like somehow it is not able to download the slf4j related artifacts , for now you can unselect the checkbox while installing maven plugin .

Please see the attached image.

If it also don't work then manually download the plugin and drop it in eclipse plugins folder.