14

How do I deal with this m2e plugin problem with Eclipse:

Description Resource Path Location Type Lifecycle mapping "org.eclipse.m2e.jdt.JarLifecycleMapping" is not available. To enable full functionality, install the lifecycle mapping and run Maven->Update Project Configuration. pom.xml /vosao-web line 11 Maven Project Build Lifecycle Mapping Problem

Does anyone have fixed this issue? Or this plugin is simply not supported in Eclipse?

quarks
  • 33,478
  • 73
  • 290
  • 513

12 Answers12

29

Today i had the same problem and found this page by google.

My solution to resolve the problem right click on the project then click Maven > Update Project... then click OK. That´s all!

user2728399
  • 306
  • 3
  • 3
  • 4
    Today I installed java-8-oracle and tried to create java maven project, and getting same error. I did Maven > Update Project, but still error is there –  Jun 04 '15 at 08:43
  • 1
    Need to check "Force Update of Snapshot/Releases" to work properly – Livio D.P. Dec 27 '17 at 19:36
5

that's what i did on STS to resolve this issue:

1) Right-click on your project, select Maven -> Disable Maven Nature.

2) Right-click on your project, select spring tools -> update maven dependencies

3) Right click on your Project and select “Configure -> Convert into Maven Project”

Ravi Vyas
  • 410
  • 6
  • 12
4

Today I resolved this problem by running eclipse with the "-clean" option (hope it will help someone in the future)

fego
  • 309
  • 5
  • 20
4

Here's a quick solution that worked for me:

  1. Disable the maven nature of the project:
    • Right click on the project
    • Maven
    • Disable Maven Nature
  2. Enable the maven nature of the project
    • Right click on the project
    • Configure
    • Convert to Maven Project

Hope this helps.

vivekmore
  • 403
  • 5
  • 19
3

The problem is fixed for me after restarting eclipse.

Hope this helps too :-)

Néjib
  • 41
  • 2
3

only update project was not resolving the problem.

It forced update of snapshot/release and it works.

Jean-François Fabre
  • 137,073
  • 23
  • 153
  • 219
Narendra Rabari
  • 918
  • 6
  • 10
  • Right click on Project -> Maven -> Update Project... -> Force Update of Snapshot/Release. Works fine! Thanks! – Livio D.P. Dec 27 '17 at 19:35
2

I had the same problem in spring tool suite(based on eclipse). I uninstalled completelly maven support and then installed it again. It helped!

Volodymyr Levytskyi
  • 3,364
  • 9
  • 46
  • 83
  • What do you mean completely uninstall maven support? Do you mean in the project? – quarks Apr 12 '13 at 12:51
  • Not. You should do like so: Help --> About Eclipse(menu item) --> Installation Details --> You select all items that belong to m2e plugin and click Uninstall button. – Volodymyr Levytskyi Apr 14 '13 at 19:21
  • Then You go to market place and search 'Maven Integratio for Eclipse' and install this. If you are using Spring Tool Suite then open dashboard and on page "Extensions" you select "Maven Integratio for Eclipse 1.1" and install it. – Volodymyr Levytskyi Apr 14 '13 at 19:32
2

I restart my STS. Then right click on the maven project -> Maven -> Update project

AlphaAtlas
  • 51
  • 1
  • 6
0

Right-click on your project, select Maven -> Disable Maven Nature. select Maven -> Update Project

Azy
  • 1
  • 1
    Welcome to Stackoverflow. It would be better if you checkout [How to Answer](https://stackoverflow.com/help/how-to-answer) page for future endeavor at Stack overflow. -Thank you – Momin Nov 07 '17 at 02:27
0

Restart STS Tool.Than update your maven projects.Working fine for me.

0

All you need to do is right click on Project, Maven -> Update Project -> Tick the "Force Update of Snapshots/Releases" box and press OK. Update project on its own did not resolve this for me, contrary to what is stated above.

Coder
  • 197
  • 1
  • 17
0

Tried everything that was mentioned here, but for me the solution was to exclude the workspace and create a new one.