Spring Tools 4 (aka Spring Tool Suite 4)

Add this URL to your Eclipse Installation to reach this solution's update site.

2024-03 (4.31)

https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/e4.31/

2023-12 (4.30)

https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/e4.30/

2023-09 (4.29)

https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/e4.29/

Learn more...
Solution Description

Spring Tools 4

Spring Tools 4 is the next generation of Spring tooling for your favorite coding enrivonment. Largely rebuilt from scratch, it provides world-class support for developing Spring-Boot-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Eclipse Theia.

Getting Started

Spring Tool Suite 4 makes it easy to get started. A direct and easy-to-use integration of the Spring Initializr and the famous Spring Guides allows you to go from nothing to a running Spring Boot app in seconds.

Navigate your Spring code at the speed of light

Understanding and quickly navigating source code is essential for coding. The new Spring Tools 4 understands your Spring-Boot-based source code and allows you to quickly get an overview and navigate to the important pieces of your Spring apps. Finding Spring elements and navigating to them has never been easier.

Smart Code Editing

Code completion is a critical part of working with source code. The all-new Spring Tools 4 provides smart code completions for the Spring elements in your app.

Runtime Information In Your Editor

Spring Tools 4 now bridges the gap between your source code and running Spring Boot applications. By taking advantage of the Spring Boot Actuators, we enriched the source code with detailed information from the running app (e.g., exact bean wiring information, conditional reports, configuration, details, and more).

Categories: IDE

Additional Details

Eclipse Versions: 2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: VMware

Development Status: Production/Stable

Date Created: Friday, July 11, 2014 - 12:41

License: EPL

Date Updated: Wednesday, March 13, 2024 - 11:04

Submitted by: Martin Lippert

Date Ranking Installs Clickthroughs
March 2024 2/688 21798 89
February 2024 2/687 20741 71
January 2024 1/691 24074 63
December 2023 1/671 21360 32
November 2023 1/686 24213 41
October 2023 1/673 25119 56
September 2023 1/663 26158 82
August 2023 2/673 24515 57
July 2023 2/668 25624 49
June 2023 2/669 25485 47
May 2023 1/671 27345 34
April 2023 1/667 26477 82
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Spring Tools 4 (aka Spring Tool Suite 4).

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

I've installed in an eclipse J2ee platform 4.6.3 (neon 3) the STS 3.8.4.201703310634-RELEASE first downloading it from update site (...release/TOOLS/update/e4.6/) and then from the marketplace but Spring plugins aren't loaded properly .

I've looked for any of the custom spring elements inside eclipse environment, for instance spring perspective, or spring nature, spring preferences, but I found none of them.

Have I downgrade my eclipse j2ee installation to 4.6.2 or 4.6.1?
My previous spring installation is based on eclipse j2ee mars 2 and works fine even if it is a bit old.

Francesco

In reply to by Francesco Cadili

Do you see any error? Maybe in the error log? I need a bit more details about the problem, since the general install should just work fine. An alternative approach would be to download the ready-to-use STS distribution from https://spring.io/tools, which is a Neon.3 Eclipse with STS components pre-installed.

If you want to dive deeper into debugging what went wrong with the install, you could open a console view, switch to the OSGi Host Console, and type "ss" for "short status" to see which bundles are installed and what state they are in. If some of them are in the state "INSTALLED", something is wrong and we could dive deeper from there.

In reply to by Martin Lippert

At least I installed STS on eclipse J2EE neon 3. The working sequence was:
1. install STS from market place on a clean up version of eclipse J2EE. (The installation form the updated site didn't work since I got a fatal exception at eclipse restart.)
2. Then install the other plugins.

Thank you. Francesco

In reply to by Martin Lippert

I think I found an answer to my problems: the update site ****://download.springsource.com/release/TOOLS/update/e4.6 works fine but ****://dist.springsource.com/release/TOOLS/update/e4.6/ seams not work.

The dig gives for download.springsource.com:
;; ANSWER SECTION:
download.springsource.com. 261 IN CNAME dgkephn8a5i01.cloudfront.net.
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.241
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.230
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.77
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.85
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.248
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.34
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.127
dgkephn8a5i01.cloudfront.net. 21 IN A 54.230.95.211

whereas for dist.springsource.com:
;; ANSWER SECTION:
dist.springsource.com. 233 IN A 104.16.65.137
dist.springsource.com. 233 IN A 104.16.69.137
dist.springsource.com. 233 IN A 104.16.67.137
dist.springsource.com. 233 IN A 104.16.66.137
dist.springsource.com. 233 IN A 104.16.68.137

Francesco

In reply to by Francesco Cadili

download.springsource.com is the CDN version of dist.springsource.com (so the various IPs make absolute sense), but both should work and should serve the same content. The network route to both will be different, but the served content is the same. I still think that stale cache data causes dist.springsource.com to not work for you case.

Trying to install in Eclipse neon using update site and get following error:
An error occurred while collecting items to be installed
session context was:(profile=C__Program Files_eclipse_jee-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.0.0.v20110215-1551
No repository found containing: osgi.bundle,org.springframework.roo.wrapping.protobuf-java-lite,2.3.0.0001

In reply to by Sanatkumar Dhir

I am wondering which marketplace entry you chose. I tried to install STS 3.8.3 into Neon via the Marketplace a minute ago and it worked so far. Can you verify that you chose STS 3.8.3 from the Marketplace? I am also wondering why there is a bundle called "org.eclipse.net4j.jms.api" being installed. This is not used directly by the STS components, but maybe it is chosen by the underlying mechanism as a provider for jms packages? Maybe... Anyway, you could also try to install STS by using the update site directly in the "Install New Software" dialog (in case the marketplace entry continue to not work for you). Make sure you choose http://download.springsource.com/release/TOOLS/update/e4.6. It would also be useful to check the configured update sites in the preferences (Install/Update -> Available Update Sites) and make sure that there is not another, maybe wrong update site configured (in addition to the correct one, mentioned above).

*Eclipse Details*
Eclipse IDE for Java Developers
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600

*System Details*
Win 10 pro (x64)

*Error*
An error occurred while collecting items to be installed
session context was:(profile=J__Eclipse_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at (http://)dist.springsource.com/release/TOOLS/update/3.8.3.RELEASE/e4.5/plugins/org.springsource.ide.eclipse.commons.cloudfoundry.client_3.8.3.201612190658-RELEASE.jar
Read timed out

In reply to by Nahid Chowdhury

Can you try to remove the STS update site from the preferences (Available Update Sites), restart Eclipse, add it back, and try again? It looks like a temporary network issue, but that might have left stale cache data in the installation. The removal of the update site + restart should clean that up.

If that doesn't work, you can try to manually use the repo URL: http://download.springsource.com/release/TOOLS/update/e4.5

Hope that helps!!!

I use the following Eclipse Neon.2

  • Eclipse Java EE IDE for Web Developers
  • Version: Neon.2 Release (4.6.2)
  • Build id: 20161208-0600
  • Eclipse path: C:\eclipse-jee-neon

and get the following error:

An error occured during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.

session context was:(profile=C_eclipse-jee-neon_eclipse,phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
Exception in opening zip file:
C:\Users\smo\.p2\pool\plugins\com.fasterxml.jackson.core.jackson-annotations_2.5.0.v201504151636.jar

Can anyone help me? Thank you in advance.

In reply to by Serena Monllor

The problem was, that the following two .jar archives were corrupted:

com.fasterxml.jackson.core.jackson-annotations_2.5.0.v201504151636.jar
com.fasterxml.jackson.core.jackson-core_2.5.0.v201504151636.jar

The solution was:

1) Download the two artifacts manually for example from University of Kent UKMirror Service
2) Replace the two corrupted artifacts in C:\Users\smo.p2\pool\plugins\ with the manually downloaded ones
3) Reinstall the plugin over the Eclipse Marketplace

Environment: Windows 7, Java 8 (Update 101), Eclipse Neon (4.6), Spring IDE 3.8.1.
When I open Spring Dashboard, Eclipse shuts down.
There are some details from the log file:

# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x000007fee296ca90, pid=3464, tid=0x0000000000001b34
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x000007fee296ca90
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

In reply to by vlad budovskiy

The wizard "Spring Project Templates" got replaced with "New Spring Legacy Project". You will find template projects there. But I would strongly recommend to create new Spring Boot projects instead, using the "New Spring Starter Project" and "Import Getting Started Content" wizards. They create up-to-date Spring projects. The templates are deprecated and no longer recommended. Therefore the wizard is already called "Legacy"... :-)

I am using Eclipse Mars.1 Release (4.5.1). I am trying to install this suite to my eclipse. I am getting this error every time.

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at htt://dist.springsource.com/release/TOOLS/update/3.8.0.RELEASE/e4.5/plugins/org.eclipse.m2e.maven.runtime_1.7.0.20160603-1931.jar.
Read timed out
Unable to read repository at htt://dist.springsource.com/release/TOOLS/update/3.8.0.RELEASE/e4.5/plugins/org.aspectj.ajde_1.8.9.201604061446.jar.
Read timed out
Unable to read repository at htt://dist.springsource.com/release/TOOLS/update/3.8.0.RELEASE/e4.5/plugins/org.springsource.ide.eclipse.commons.cloudfoundry.client.v2_3.8.0.201606301005-RELEASE.jar.
Read timed out

Please help

PS: I deleted the 'p' from 'http' to post the comment without error

After install newest STS, I can't create normal maven project anymore. It's not visible in new window. Does anyone know how to solve that problem?

In reply to by Hung Nguyen

I don't have an immediate fix for this problem at hand, but I would love to investigate this in more detail. Would you mind reporting an issue here: https://github.com/spring-projects/spring-ide/issues. That would be great. We could continue the discussion from there. I think I will have to ask for further details (like the state of certain bundles, etc.), so the GitHub issue would make a lot of sense. Thanks!!!

In reply to by Ihteshamul Alam

I think if you deselect the entry 'com.vmware.vfabric.ide.eclipse.tcserver.insight' on the first dialog (called "Confirm Selected Features") then you won't get that popup. But if, on the 'not available' popup, you tell it to install anyway, it should succeed. We will look to fix for the forthcoming 3.8.1

Installing STS 3.7.3 on Mars.2 (4.5.2 release).
Obtaining the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Spring IDE Spring Data Support 3.7.3.201602250914-RELEASE (org.springframework.ide.eclipse.data.feature.feature.group 3.7.3.201602250914-RELEASE)
Missing requirement: Spring IDE Live Beans Graph 3.7.3.201602250914-RELEASE (org.springframework.ide.eclipse.beans.ui.livegraph 3.7.3.201602250914-RELEASE) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Spring IDE Spring Data Support 3.7.3.201602250914-RELEASE (org.springframework.ide.eclipse.data.feature.feature.group 3.7.3.201602250914-RELEASE)
To: org.springframework.ide.eclipse.feature.feature.group 0.0.0
Cannot satisfy dependency:
From: Spring IDE Core (required) 3.7.3.201602250914-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.7.3.201602250914-RELEASE)
To: org.springframework.ide.eclipse.beans.ui.livegraph [3.7.3.201602250914-RELEASE]

In reply to by Renato Perini

Looks like the installation procedure can't find the zest bundle, which is coming from the Eclipse Mars p2 update site (that one isn't included in the STS update site since I think it will be in every Eclipse Mars installation anyway). Can you check that and make sure that the main Eclipse Mars update site is in the preferences and activated? If so, the installation should work just fine (tried it again myself a moment ago). Hope this helps!!!

In reply to by Kishore Chinta

Can you provide a few steps to reproduce this installation issue? I tried to install it into Luna SR2 a minute ago and it seems to work just fine. So something seems to be different on your end. Can you provide a few steps? Or maybe try with a fresh Eclipse Luna SR2 installation, just to see if this causes an issue on a plain Luna on your end as well?

I encountered the same error as Cristiano, Dashboard (Optional) crashes the install. Using Eclipse 4.4.1. Installed fine without it.

I found another error when select item Dashboard (Optional), if not select this item, the install works correctly.