Spring插件的下载地址:
首先到官网下载插件,官网地址:https://spring.io/tools3/sts/all
可以看到两种下载类型:
- 联网下载(链接下载):
- 插件压缩包下载:
这里下载压缩包为例,联网下载的安装步骤与其相同。
查看确定需要安装的插件版本:必须与Eclipse版本一致,否则会安装失败。
查看eclipse版本:help——About Eclipse IDE
所以我下载的Spring插件是4.10.0版本的。
开始安装Spring插件:
1、Help——Install New Software
2、选择Add,添加Name(一般为Spring)和Location(本地下载的Spring插件路径)
3、选择Core/Spring IDE、Extensions/Spring IDE、Integrations/Spring IDE、Resources/Spring IDE四项,注意将下方勾选取消
4、一直点Next,直到选择I accpet the terms of the license agreements,点Finish然后等待插件安装完成并提示重启。
可能过程会出现Do you trust these certificates?——选择select all,继续安装
5、安装成功之后,重启Eclipse,查看window——preferences——Spring,即安装成功
可能出现的问题:An error occurred while collecting items to be installed session context was
解决方案:
打开Window——Preferences——Install/Update——Available software Sites,将Oracle Enterprise Pack For Eclipse改为disable