Sep 4th, 2012, 07:05 AM
Error: Cannot read lifecycle mapping
I am new to the forum and to the STS and I have one problem which I suppose is STS/Maven configuration problem. I have STS 3.0.0M3. When I create Maven project my STS create only pom.xml file and src folder, nothing more. It should create complete project (in package explorer) as I saw on the other computer. But I have in package explorer project with only these two things and there is one error message in the pom.xml file:
Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav(Click for details)
When I click for details, there are no details (actually no text in that pop up at all). I tried to solve this by my own, using google, reinstall whole STS. Nothing helps. What should I do? Can you help me?
Sep 4th, 2012, 10:53 AM
The exception indicates some kind of corrupt or invalid xml. It could be a part of your project, but more likely, one of the plugins/dependencies in your maven repo is corrupt. Try deleting your local maven repo and trying again.
It is located here:
This may not work, but it is a good first step.
Sep 5th, 2012, 02:29 AM
It solved the problem, thank you very much
Tags for this Thread