Results 1 to 2 of 2

Thread: MVC Template, broken dependancy

  1. #1
    Join Date
    Jul 2011
    Location
    Denmark
    Posts
    31

    Default MVC Template, broken dependancy

    Hello

    STS 2.7.1, Jdk1.6_26. Maven 3.0.3.

    I have a red cross on my pom.xml:
    Missing artifact org.springframework.roo:org.springframework.roo.an notations:jar:1.0.2.RELEASE: provided

    I tried changing it to 1.1.5 (I figured it might be the latest roo version instead), but it didnt work either.

    Spent way too long trying to fix this, so I'm hoping someone has some answers.
    The MVC template seems extremely buggy.

    [EDIT]
    It also says this:
    Failure to transfer org.springframework.roo:org.springframework.roo.an notations:jar:1.0.2.RELEASE from http://maven.springframework.org/milestone was cached in the local repository, resolution will not be reattempted until the update interval of org.springframework.maven.milestone has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.roo:org.springframework.roo.an notations:jar:1.0.2.RELEASE from/to org.springframework.maven.milestone (http://maven.springframework.org/milestone): For input string: "HTTP/1.1" pom.xml /HelloWorld_MVC line 1 Maven Problem

    Maybe its a server problem?
    Last edited by Gr3y; Jul 23rd, 2011 at 07:11 PM.

  2. #2
    Join Date
    Jul 2011
    Location
    Denmark
    Posts
    31

    Default

    I fixed it (maybe).

    I deleted the .m2 folder.
    Maven3 redownloaded everything.
    However it still complained that a non-existing path was referenced.
    The path existed, however.

    I made THAT problem go away by going to prefs>maven>user setting and then pressing the "Update Settings" button.

    All the wierdo errors went away (for some reason).

    Sigh...

    Using windows 7 ultimate x64 btw.

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
  •