Results 1 to 3 of 3

Thread: Error: Cannot read lifecycle mapping

  1. #1
    Join Date
    Sep 2012
    Posts
    6

    Default 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. #2
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    747

    Default

    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.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

  3. #3
    Join Date
    Sep 2012
    Posts
    6

    Default

    It solved the problem, thank you very much

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •