Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: STS 2.3.2 - issues downloading mvc template

  1. #11
    Join Date
    May 2012
    Location
    Trivandrum, Kerala, India
    Posts
    3

    Default

    I also faced the same issue. After some trial and error, i finally figured out how to get it working. Following were the steps followed:

    1. Open STS
    1.1 Go to File -> New -> Spring Template Project
    1.2 Click Refresh
    1.3 Now close STS
    2. Navigate to STS home folder i.e. the installation folder
    2.1 Search for descriptors.xml. In my case it was in STS_HOME\configuration\org.eclipse.osgi\bundles\33 \1\.cp
    2.2 Open the file are search for the tag describing the template we are looking for. In my case it was org.springframework.templates.mvc. If there are mutiple versions, pick the one with latest version
    2.3 Change the local attribute value from false to true
    2.4 The tag contains the URL from where we can download the template file. In my case it was http://dist.springsource.com/release....mvc-3.1.2.zip
    3. Download the template file
    3.1 Extract the contents of the template file to a folder with the name of the template with version under STS_WORKSPACE\.metadata\.sts\content e.g. STS_WORKSPACE\.metadata\.sts\content\org.springfra mework.templates.mvc-3.1.2
    4. Open STS and now we should be able to use the template as expected

    Hope this helps.

    Nibin Jacob Panicker


    Nibin Jacob Panicker

  2. #12
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey Nibin!

    Thanks for posting your steps here!!!

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  3. #13
    Join Date
    Jul 2012
    Posts
    1

    Default

    I had exactly same problem as others, you dont actually have to modify anything to change download path etc. The problem is spring tool do not have permission to download those files. Just run spring tools with administrator privilege (Right click in menu and select "Run as a administrator") and you should be able to download all template projects.

    You only need to do this once for all templates, once you will have all of them downloaded you can launch Spring tools normally and still create template projects thereafter.

    Hope this will help.

Posting Permissions

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