An error occurred while collecting items to be installed

给eclipse安装spring插件的时候这个错:
An error occurred while collecting items to be installed
在网上看了很久找到了以下解决方案:

1.Oracle Enterprise Pack For Eclipse

Window->Preferences->Install/Update->Available software Sites,将Oracle Enterprise Pack For Eclipse改为disable
在这里插入图片描述
参考:https://blog.csdn.net/zf_csdn/article/details/79379955

2.手动添加找不到的库的路径

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.aspectj.runtime.source,1.7.0.20120507134200
No repository found containing: osgi.bundle,org.eclipse.contribution.weaving.jdt.source,2.2.0.e36x-20120507-1400
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.weaving.source,2.2.0.e36x-20120507-1400
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.core.source,2.2.0.e36x-20120507-1400
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.xref.source,2.2.0.e36x-20120507-1400
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.ui.source,2.2.0.e36x-20120507-1400
No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.0.0.v20110215-1551
No repository found containing: osgi.bundle,org.springframework.roo.wrapping.protobuf-java-lite,2.3.0.0001

windows ->perference -> Install\update ,然后点击Available Software Sites
点击Add,命完名后,将错误信息里的没找到的路径复制进去即可。
参考: https://blog.csdn.net/qq_35033270/article/details/82902603

3.把各种下载地址http的改成https

Help -> Install New Software -> 点击 “Available Software Sites” 链接-> 选择 “Android Developer Tools Update Site” -> 点击"Edit" -> 把 http://改成"https://
因为这里说的是安装安卓插件的,可能跟spring有所不同
具体可以看看原文:
https://stackoverflow.com/questions/9544071/an-error-occurred-while-collecting-items-to-be-installed-access-is-denied

4.安装的时候取消“Contact …”

在这里插入图片描述


至于我是在哪一步解决的,经过我整整一天的折腾…
哪一步都没解决🤦‍♀️💢

最终嘛重装eclispe 解决了
在这里插入图片描述
不过搜了一天不能白搜了,就汇总一下我尝试过的

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值