Announcement Announcement Module
No announcement yet.
STS FAQs - updated Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS FAQs - updated

    Can I install Spring IDE/STS into an existing Eclipse installation?

    Yes, sure. Spring IDE and STS can be installed from the Eclipse Marketplace as well as from update sites. Please refer to the STS installation documentation about how to install Spring IDE/STS manually from the update sites: Installing STS into Eclipse

    Just take care to choose the right STS version for your Eclipse installation (we have different items on the Marketplace for Eclipse 3.6 and Eclipse 3.7, for example).

    I get an Access Denied error when browsing the update sites

    Please note that our update sites are hosted on Amazon S3 and do not allow directory indexing. So this error message is correct when navigating to one of the above URLs.

    You can test the connectivitly of those sites by browsing to:

    Additionally we don't publish site.xml files to the update site any longer. The STS update sites are P2 repositories for the use with Eclipse 3.6 and higher.

    I get "read timeout" messages when installing extensions or checking for updates

    Since we host the update sites on Amazon S3, there should be pretty good connectivity from all over the world. Usually the "read timeout" problems appear for other update sites that are not available at that moment. Sometimes those "read timeout" messages also appear for URLs that look like valid Spring IDE/STS update site URLs, but they aren't. This is due to p2 trying to access common artifacts on p2 repositories that are not always there. STS update sites are, for example, composite update sites that provide compositeArtifact.xml instead of compositeArtifact.jar. However, p2 tries to download the JAR file and fails. Next, it tries to download the XML version and succeeds. This is the normal p2 process and not the cause of the problems.

    Most of the times the problem is a network issue with firewall and proxy configurations that are not correctly configured for these kind of requests and therefore cause a read timeout. So please check your network connection and proxy settings within Eclipse/STS and talk to you network/proxy administrator about what exactly is going wrong with those requests.

    Roo doesn't startup correctly and/or tc Server forgets about configurations

    DON'T INSTALL STS INTO "Program Files" UNDER WINDOWS 7. This causes a number of problems when STS, Roo or tc Server tries to write to files. Windows 7 treats the "Program Files" part of your drive very specifically, because it tries to avoid that programs manipulate the content of the "Program Files" directory. This causes weird problems with Spring Roo (which tries to write some configuration files) and possibly also tc Server. Therefore we strongly recommend to NOT install STS into "Program Files". Instead, the users home directory is usually a safe place for an STS install (or another location on your drive that is not treated separately and has full access rights).

    Mac install may appear to be incomplete or missing features

    Check the plugins folder of your STS installation to see that all .jars were successfully unpacked. If you see files ending in *.pack.gz then there was an installer failure.

    We have seen this problem occur with users that have Spotlight indexing enabled and who have installed 3rd party Spotlight indexers. To ensure a successful installation go to the Spotlight panel of your System Preferences, and under the Privacy tab add the directory which you plan to install STS into. You may also need to remove any Spotlight indexers that scan .jar or .gz files. Some indexers which may adversely affect the installer are tarimporter.mdimporter, ninjar.mdimporter, and ziplight.mdimporter. Spotlight indexers can be found at /Library/Spotlight and ~/Library/Spotlight.

    Linux installer fails to run with "No JRE found" message

    The shell script looks for a JAVA_HOME variable. If that does not exist it uses the locate command to search all Java executables on the system.

    You can point the installer to JAVA_HOME by using the following command:

     > export JAVA_HOME=<path to your JDK install>
     > sh
    How can I uninstall STS when installed with the installers

    The installer does not create any registry keys or pollutes your system otherwise. You can safely delete the directory into which you installed and remove the start menu shortcut if you selected to create one during installation (windows only).

    The WebMVC template project has an error after creation

    When creating a new Spring web mvc project using the Spring Project Templates, sometimes the project is being marked with an error right after its creation. The error complains about a missing tag lib descriptor for "". And the project doesn't work correctly when deployed to tc Server. In this case, please do a "Clean" on the project (Project menu -> Clean). That should resolve the error and make the project deploy and run correctly on tc Server.

    Where can I find the nightly builds of STS?

    The nightly builds of STS are available from update sites. The core STS components are available here:

    Groovy-Eclipse nightly builds are available here (change the trailing number to match your Eclipse version):

    The AJDT update site is available here:

    Do not try to access these sites directly. These are links to update sites and in order to use them, in your STS, go to Help -> Install new software... and paste the URLs into the "Work with" text field.
    Last edited by Andrew Eisenberg; Feb 23rd, 2012, 11:07 AM. Reason: more questions and answers