facebook

"missing artifact" problems with maven and spring?

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #296117 Reply

    cusdx
    Member

    Hi,

    I am trying to get a project to work with Maven and Spring, but every time I try the same thing happens – I get this:

    Error message: Missing:
    ———-
    1) javax-persistence:persistence-api:jar:1.0

    ….

    BUILD FAILED

    What I do is build an ordinary Maven Web Project first, and that all works fine – the Maven install works and I can view the web page. But it’s after I add Spring capabilities that I get this problem.

    I’ve tried it several times and always get the same problem – I’ve tried deleting and recreating .m2 and opening and closing myEclipse and also tried using a new workspace – each time I’ve reproduced the problem..

    Configuration details are below, and below that is my blog entry for how exactly I’ve gone about creating my project.

    Hope you can help.

    <!– Please paste the installation information under MyEclipse > Installation Summary > Installation Details –>

    #296157 Reply

    It is a bug in MyEclipse. Thank you for reporting it. The group ID in the pom.xml should be “javax.persistance”, not the “javax-persistance”. We will fix it in the next release.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: "missing artifact" problems with maven and spring?

You must be logged in to post in the forum log in