1. 程式人生 > >eclipse安裝spring-tool-suite(sts)方法

eclipse安裝spring-tool-suite(sts)方法

目前spring官網(http://spring.io/tools/sts/all)上可下載的spring外掛只有:springsource-tool-suite-3.8.4(sts-3.8.4)。但這隻針對指定的eclipse版本適用。

如何為自己的eclipse下載歷史版本的sts呢?拼下載的url。

首先,滑鼠右鍵可下載的sts連結,然後“複製連結地址”,把地址拷貝出來。

地址如下:http://download.springsource.com/release/TOOLS/update/3.8.4.RELEASE/e4.7/springsource-tool-suite-3.8.4.RELEASE-e4.7.0-updatesite.zip。

然後點選歷史版本連結,檢視歷史版本資訊。(注意這裡歷史版本列表中提供的下載檔案,並不能直接作為sts外掛使用)

以歷史版本列表中sts-3.7.2版為例。

拷貝出來的地址如下:

http://download.springsource.com/release/STS/3.7.2.RELEASE/dist/e4.5/spring-tool-suite-3.7.2.RELEASE-e4.5.1-win32-x86_64.zip。

現在將兩個地址進行比較和拼接:

sts-3.8.4外掛下載地址:http://download.springsource.com/release/TOOLS/update/3.8.4.RELEASE/e4.7/springsource-tool-suite-3.8.4.RELEASE-e4.7.0-updatesite.zip,

sts-3.7.2歷史版本資訊下載地址:http://download.springsource.com/release/STS/3.7.2.RELEASE/dist/e4.5/spring-tool-suite-3.7.2.RELEASE-e4.5.1-win32-x86_64.zip,

拼出sts-3.7.2的外掛下載地址是:http://download.springsource.com/release/TOOLS/update/3.7.2.RELEASE/e4.5/springsource-tool-suite-3.7.2.RELEASE-e4.5.1-updatesite.zip

同樣方法可以得到

sts-3.8.3的下載地址:http://download.springsource.com/release/TOOLS/update/3.8.3.RELEASE/e4.6/springsource-tool-suite-3.8.3.RELEASE-e4.6.2-updatesite.zip

sts-3.8.2的下載地址:http://download.springsource.com/release/TOOLS/update/3.8.2.RELEASE/e4.6/springsource-tool-suite-3.8.2.RELEASE-e4.6.1-updatesite.zip

sts-3.8.1的下載地址:http://download.springsource.com/release/TOOLS/update/3.8.1.RELEASE/e4.6/springsource-tool-suite-3.8.1.RELEASE-e4.6-updatesite.zip

sts-3.8.0的下載地址:http://download.springsource.com/release/TOOLS/update/3.8.0.RELEASE/e4.6/springsource-tool-suite-3.8.0.RELEASE-e4.6-updatesite.zip

sts-3.7.3的下載地址:http://download.springsource.com/release/TOOLS/update/3.7.3.RELEASE/e4.5/springsource-tool-suite-3.7.3.RELEASE-e4.5.2-updatesite.zip

sts-3.7.2的下載地址:http://download.springsource.com/release/TOOLS/update/3.7.2.RELEASE/e4.5/springsource-tool-suite-3.7.2.RELEASE-e4.5.1-updatesite.zip

sts-3.7.1的下載地址:http://download.springsource.com/release/TOOLS/update/3.7.1.RELEASE/e4.5/springsource-tool-suite-3.7.1.RELEASE-e4.5.1-updatesite.zip

sts-3.7.0的下載地址:http://download.springsource.com/release/TOOLS/update/3.7.0.RELEASE/e4.5/springsource-tool-suite-3.7.0.RELEASE-e4.5-updatesite.zip

sts-3.6.4的下載地址:http://download.springsource.com/release/TOOLS/update/3.6.4.RELEASE/e4.4/springsource-tool-suite-3.6.4.RELEASE-e4.4.2-updatesite.zip

sts-3.6.3.SR1的下載地址:http://download.springsource.com/release/TOOLS/update/3.6.3.SR1/e4.4/springsource-tool-suite-3.6.3.SR1-e4.4.1-updatesite.zip

sts-3.6.3.RELEASE的下載地址:http://download.springsource.com/release/TOOLS/update/3.6.3.RELEASE/e4.4/springsource-tool-suite-3.6.3.RELEASE-e4.4.1-updatesite.zip

sts-3.6.2的下載地址:http://download.springsource.com/release/TOOLS/update/3.6.2.RELEASE/e4.4/springsource-tool-suite-3.6.2.RELEASE-e4.4.1-updatesite.zip

sts-3.6.1的下載地址:http://download.springsource.com/release/TOOLS/update/3.6.1.RELEASE/e4.4/springsource-tool-suite-3.6.1.RELEASE-e4.4-updatesite.zip

sts-3.6.0的下載地址:http://download.springsource.com/release/TOOLS/update/3.6.0.RELEASE/e4.4/springsource-tool-suite-3.6.0.RELEASE-e4.4-updatesite.zip

sts-3.5.1(based on eclipse 4.3.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.5.1.RELEASE/e4.3/springsource-tool-suite-3.5.1.RELEASE-e4.3.2-updatesite.zip

sts-3.5.1(based on eclipse 3.8.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.5.1.RELEASE/e3.8/springsource-tool-suite-3.5.1.RELEASE-e3.8.2-updatesite.zip

sts-3.5.0(based on eclipse 4.3.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.5.0.RELEASE/e4.3/springsource-tool-suite-3.5.0.RELEASE-e4.3.2-updatesite.zip

sts-3.5.0(based on eclipse 3.8.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.5.0.RELEASE/e3.8/springsource-tool-suite-3.5.0.RELEASE-e3.8.2-updatesite.zip

sts-3.4.0(based on eclipse 4.3.1)的下載地址:http://download.springsource.com/release/TOOLS/update/3.4.0.RELEASE/e4.3/springsource-tool-suite-3.4.0.RELEASE-e4.3.1-updatesite.zip

sts-3.4.0(based on eclipse 3.8.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.4.0.RELEASE/e3.8/springsource-tool-suite-3.4.0.RELEASE-e3.8.2-updatesite.zip

sts-3.3.0(based on eclipse 4.3)的下載地址:http://download.springsource.com/release/TOOLS/update/3.3.0.RELEASE/e4.3/springsource-tool-suite-3.3.0.RELEASE-e4.3-updatesite.zip

sts-3.3.0(based on eclipse 3.8.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.3.0.RELEASE/e3.8/springsource-tool-suite-3.3.0.RELEASE-e3.8.2-updatesite.zip

sts-3.2.0(based on eclipse 3.8.2))的下載地址:http://download.springsource.com/release/TOOLS/update/3.2.0.RELEASE/e3.8/springsource-tool-suite-3.2.0.RELEASE-e3.8.2-updatesite.zip

sts-3.2.0(based on eclipse 4.2.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.2.0.RELEASE/e4.2/springsource-tool-suite-3.2.0.RELEASE-e4.2.2-updatesite.zip

sts-3.1.0(based on eclipse 3.8)的下載地址:http://download.springsource.com/release/TOOLS/update/3.1.0.RELEASE/e3.8/springsource-tool-suite-3.1.0.RELEASE-e3.8-updatesite.zip

sts-3.1.0(based on eclipse 4.2)的下載地址:http://download.springsource.com/release/TOOLS/update/3.1.0.RELEASE/e4.2/springsource-tool-suite-3.1.0.RELEASE-e4.2-updatesite.zip

sts-3.0.0的下載地址:http://download.springsource.com/release/TOOLS/update/3.0.0.RELEASE/e4.2/springsource-tool-suite-3.0.0.RELEASE-e4.2-updatesite.zip

sts-2.9.2的下載地址:http://download.springsource.com/release/TOOLS/update/2.9.2.RELEASE/e3.7/springsource-tool-suite-2.9.2.RELEASE-e3.7.2-updatesite.zip

sts-2.9.1的下載地址:http://download.springsource.com/release/TOOLS/update/2.9.1.RELEASE/e3.7/springsource-tool-suite-2.9.1.RELEASE-e3.7.2-updatesite.zip

sts-2.9.0的下載地址:http://download.springsource.com/release/TOOLS/update/2.9.0.RELEASE/e3.7/springsource-tool-suite-2.9.0.RELEASE-e3.7.2-updatesite.zip

sts-2.8.1的下載地址:http://download.springsource.com/release/TOOLS/update/2.8.1.RELEASE/e3.7/springsource-tool-suite-2.8.1.RELEASE-e3.7.1-updatesite.zip

sts-2.8.0的下載地址:http://download.springsource.com/release/TOOLS/update/2.8.0.RELEASE/e3.7/springsource-tool-suite-2.8.0.RELEASE-e3.7.1-updatesite.zip

sts-2.7.2的下載地址:http://download.springsource.com/release/TOOLS/update/2.7.2.RELEASE/e3.7/springsource-tool-suite-2.7.2.RELEASE-e3.7-updatesite.zip

sts-2.7.1的下載地址:http://download.springsource.com/release/TOOLS/update/2.7.1.RELEASE/e3.7/springsource-tool-suite-2.7.1.RELEASE-e3.7-updatesite.zip

sts-2.7.0的下載地址:http://download.springsource.com/release/TOOLS/update/2.7.0.RELEASE/e3.7/springsource-tool-suite-2.7.0.RELEASE-e3.7-updatesite.zip

至於更舊版本的sts,無法按照此方法拼出下載路徑。但是以上這些,應該能夠滿足大家各種版本eclipse,注意路徑中的ex.x.x就是該外掛適用的eclipse版本,當然也不是嚴格對應,大家可以找適用版本相近的外掛進行下載安裝。

 

首先在官網https://spring.io/tools/sts/all下外掛,要根據自己的eclipse版本下對應版本的spring-tool-suite;

怎麼下歷史版本的外掛,詳見https://blog.csdn.net/gzc_870301/article/details/79929607;

下載完之後:點選eclipse裡面的help,install new software

然後選擇自己下載的外掛。

選擇完之後,把電腦的網斷了,再點選next。(注:不斷網的話,一直停在2/15)

這一步完成之後,再連網,點next,accept繼續下一步,就安裝成功了。(注:不聯網的話,會報錯)。