eclipse集成springboot 插件(离线安装,含解决Cannot complete the install because one or more required items could)

首先,确认eclipse的版本(这里要求不是太严,只要高版本的eclipse能集成低版本的springboot)

这里以我的eclipse版本为例。

eclipse集成springboot 插件(离线安装,含解决Cannot complete the install because one or more required items could)

 我下载的springboot插件是springsource-tool-suite-3.8.3.RELEASE-e4.6.2-updatesite.zip

通过安装离线工具eclipse: help > Install New Software > add

eclipse集成springboot 插件(离线安装,含解决Cannot complete the install because one or more required items could)

全选

eclipse集成springboot 插件(离线安装,含解决Cannot complete the install because one or more required items could) 

安装过程中如果报了类似这样的错误

Cannot complete the install because one or more required items could not be found.
Software being installed: Groovy-Eclipse Feature 2.9.1.xx-201411061336-e42-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 2.9.1.xx-201411061336-e42-RELEASE)
Missing requirement: JDT Core patch for Groovy-Eclipse plugin 2.9.1.xx-201411061336-e42-RELEASE (org.codehaus.groovy.jdt.patch.feature.group 2.9.1.xx-201411061336-e42-RELEASE) requires 'org.eclipse.jdt.feature.group 0.0.0' but it could not be found

说明你还没有安装 org.codehaus.groovy.jdt.patch.feature.group 这个插件

点击这个链接下载需要的依赖插件

https://dist.springsource.org/release/GRECLIPSE/2.9.1/e4.4/org.codehaus.groovy-2.9.1.xx-201411061335-e44-RELEASE-updatesite.zip

然后,按照安装springboot插件的流程,先安装这个依赖插件

依赖插件安装成功后,再重复上述安装springboot插件。

祝你成功