Spring Tools 3附加组件安装至Spring Tools 4报错无法安装如何解决
报错原因
3.9.22版本的Spring Tools 3附加组件对Eclipse Mylyn组件存在强依赖,要求其中org.eclipse.mylyn.tasks.ui包版本在3.7.0到4.0.0区间内。高版本Spring Tools 4默认移除了内置的Mylyn相关组件,依赖校验不通过就会直接终止安装。
核心报错信息如下:
Cannot complete the install because one or more required items could not be found. Software being installed: Spring IDE Integration, Flex and Web Services Extension (optional) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.integration.feature.feature.group 3.9.22.202204280911-RELEASE) Missing requirement: Spring IDE Spring Configuration Editor (UI) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.config.ui 3.9.22.202204280911-RELEASE) requires 'osgi.bundle; org.eclipse.mylyn.tasks.ui [3.7.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: Spring IDE Core (required) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.9.22.202204280911-RELEASE) To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.config.ui [3.9.22.202204280911-RELEASE,3.9.22.202204280911-RELEASE] Cannot satisfy dependency: From: Spring IDE Integration, Flex and Web Services Extension (optional) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.integration.feature.feature.group 3.9.22.202204280911-RELEASE) To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.feature.feature.group 0.0.0
解决方法
- 打开IDE顶部菜单栏,依次进入
Help > Install New Software打开组件安装面板 - 在
Work with输入栏填入当前Spring Tools 4对应Eclipse版本的官方更新源地址,等待组件列表加载完毕 - 在组件列表中搜索
Mylyn,勾选全部Mylyn相关组件,按引导完成安装,根据提示重启IDE - 重启后重新安装Spring Tools 3附加组件即可正常完成流程
内容的提问来源于stack exchange,提问作者heo
相关产品推荐
相关产品推荐

