Announcement Announcement Module
Collapse
No announcement yet.
Error: Cannot read lifecycle mapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error: Cannot read lifecycle mapping

    Hello,

    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?

  • #2
    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:

    ~/.m2/repository

    This may not work, but it is a good first step.

    Comment


    • #3
      It solved the problem, thank you very much

      Comment

      Working...
      X