安装Spring IDE
在线安装方法一:
打开Eclipse Marketplace
搜索Spring, 选择Spring Tools(aka Spring IDE and Spring Tool Suite), 然后Install
保持默认选项,进行安装
在线安装方法二:
查看Eclipse当前版本
在Spring官网:http://spring.io/tools/sts/all 中获取对应版本
Spring在线更新网址
在Eclipse中选择 Install New Software…
把刚才查到的Spring在线更新网址,复制到 Work with 框中,然后选择Spring IDE模块进行安装, 保证右下角的 Contact all update sites… 选项未选中
注意:
以上两种在线安装方法在安装的时候可能会报错,所以下面介绍最稳妥的离线包安装方法。
离线包安装:
查看Eclipse当前版本
在Spring官网:http://spring.io/tools/sts/all 中点击下载对应版本的Spring安装包
下载完成后解压
在Eclipse中选择 Install New Software…
点击 Add… -> Local… 选择刚才解压的文件夹,并且勾选上对应的Spring IDE模块,保证右下角的 Contact all update sites… 选项未选中,然后确认安装