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

网友投稿 747 2023-07-27

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

关于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

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

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:SpringBoot配置web访问H2的方法
下一篇:详解IntelliJ IDEA 快捷键整合(大全)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~