Results 1 to 2 of 2

Thread: STS .exe installer doesn't work, how do I install with zipped version?

  1. #1
    Join Date
    May 2012
    Posts
    3

    Default Can't get basic Hello World Spring MVC project to work

    I downloaded and unzipped STS. I then started following the tutorial here that creates a simple Spring MVC application - http://www.javapassion.com/rebels/spring3_sts/

    I go to File->New Spring Template Project->Spring MVC Project->(enter project name & package)->Finish

    Then I right-click my project->Run as->Run on Server->Finish

    I get the following -
    http status 404.jpg



    I then opened the pom.xml file, which seems to contain the error, and here is what the error it contains -

    Failure to transfer org.apache.maven.plugins:maven-surefire-pluginom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-pluginom:2.7.1 from/to central (http://repo1.maven.org/maven2): null to http://repo1.maven.org/maven2/org/ap...ugin-2.7.1.pom

    pom.jpg


    So does anybody know what is going wrong and how to fix it?
    Last edited by nukenuts; May 17th, 2012 at 09:24 AM.

  2. #2
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    748

    Default

    The could not transfer problem may point to a server/proxy issue. STS uses different proxy settings from the rest of your system. They need to be set up in Preferences -> General -> Network settings.

    Let me know if this works for you.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Posting Permissions

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