关于eclipse安装spring插件报错An error occurred while collecting items to be installed...解决方案

本文解决Eclipse4.7安装STS3.9.0时出现的An error occurred while collecting items to be installed错误。通过禁用Oracle Enterprise Pack for Eclipse,避免找不到所需库的报错,实现成功安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

关于eclipse安装spring插件报错An error occurred while collecting items to be installed...解决方案

 

本文以eclipse4.7安装sts3.9.0为例,解决报错

 

An error occurred while collecting items to be installed session context was:(profile=D__DevelopTools_eclipse_jee-oxygen_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

No repository found containing: osgi.bundle,oracle.eclipse.tools.rest.lib,17.0.0.201709131633

在线安装

打开eclipse->Help->Install new software->Add,在Name中输入Spring(名字随意),Location中输入http://dist.springsource.com/release/TOOLS/update/e4.7/

点击OK,并选择需要安装的四个IDE

一路Next,等待安装,在中途可能出现

 

An error occurred while collecting items to be installed session context was:(profile=D__DevelopTools_eclipse_jee-oxygen_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

No repository found containing: osgi.bundle,oracle.eclipse.tools.rest.lib,17.0.0.201709131633

 

这个报错。

解决方案:

打开Window->Preferences->Install/Update->Available software Sites,将Oracle Enterprise Pack For Eclipse改为disable

然后按照以上步骤重新安装,即可成功!

评论 14
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值