Install the STS plug-in on the Eclipse platform
Scenario description
When we do some research and development based on Spring and Spring MVC open source technology frameworks, we use STS IDE or STS Plug-ins are undoubtedly the best choice. For example, code prompts and auto-completion functions when editing Spring configuration file.
Eclipse selection
Eclipse provides various versions, among which I prefer the following two versions.
EclipseLunaRS2: The official compatible version of Java SE 8.
EclipseNeon3: Updates relatively quickly, suitable for technology enthusiasts.
This article selects eclipse-jee-neon-3-win32-x86_64.zip, the download address is as follows:
(1) Eclipse official website: www.eclipse.org/
Download URL (not sure which day it will expire):
219.238.7.66/files/2148000009F01E75/eclipse.stu.edu.tw/technology/epp/downloads/release/neon/3/eclipse-jee- neon-3-win32-x86_64.zip
(2) Spring site: spring.io/tools/eclipse
Download URL (not sure which day it will expire):
219.238.7.66/files/2148000009F01E75/eclipse.stu.edu.tw/technology/epp/downloads/release/neon/3/eclipse-jee-neon-3-win32-x86_64.zip
(3 ) Check the Eclipse platform version
Method 1: Help | About Eclipse You will see the following content
where 4.6.3 is the Eclipse version number.
Method 2: Quick queryEclipse version number
Double-click "eclipse-jee-neon-3-win32-x86_64.zip" | Eclipse| .eclipseproduct to open this file View the content, which is as follows:
where version=4.6.3 represents the current software version number. Don't ask me how I know~~
STS selection
The full name of STS is Spring ToolsSuite. At this time we have two versions to choose from.
Version 1: Spring is based on the Eclipse platform integrated version, which can be used directly after downloading and decompressing. Some of the configuration items are slightly different from the Eclipse we usually use.
Version 2: Install the STS plug-in on an independent Eclipse platform. I prefer this method.
Spring official website: https://spring.io
Spring STS integrated version download website: spring.io/tools/sts/legacy
Spring STS plug-in download URL: spring.io/tools/sts/all
Among them: Update Site Archives can be installed offline after downloading, and
Update Sites supports Eclipse online installation.
It is highly not recommended to install online as the speed is too slow. With my 100M bandwidth, it took nearly half an hour to install the SSD hard drive.
This article selects the STS plug-in offline installation package springsource-tool-suite-3.8.4.RELEASE-e4.7.0-updatesite.zip
Eclipse platform to install the STS plug-in
In This reiterated version Eclipse version: eclipse-jee-neon-3-win32-x86_64.zip
STS offline plug-in version: springsource-tool-suite-3.8.4.RELEASE-e4.7.0-updatesite.zip
After decompressing eclipse-jee-neon-3-win32-x86_64.zip, the file size is: 340MB (356,523,682 bytes)
Enter the Eclipse folder, double-click to run eclipse.exe, after startup Execute Help | Install New Software … | Add... | Archive... Select the STS offline plug-in package you just downloaded” springsource-tool-suite-3.8.4.RELEASE-e4.7.0-updatesite.zip”
Click to start, as shown in the picture below:
6. Choose what you need, and click Next, as shown in the picture below:
7. If there is no error message, it means everything is normal. Click Next, as shown in the picture below:
8. Click Finish, and a long installation process officially begins (depending on the machine configuration, my machine has 16gRAM+SSD in about 8 seconds), and then as shown in the picture below :
9. Don’t hesitate, click “Yes” and the installation is basically completed.
10. After restarting Eclipse, verify the installation, you will see the following picture:
11. Verify the size of the Eclipse folder after installing the STS plug-in:
Before installation: 340 MB (356,523,682 bytes)
After installation: 510 MB (534,838,650 bytes)
Eclipse and STS The plug-in version needs to match, otherwise the installation may fail
The above is the detailed content of Detailed explanation of installing STS plug-in on Eclipse platform. For more information, please follow other related articles on the PHP Chinese website!