eclipse安装spring插件报错怎么办
更新:HHH   时间:2023-1-7


小编给大家分享一下eclipse安装spring插件报错怎么办,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

本文以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


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

以上是“eclipse安装spring插件报错怎么办”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注天达云行业资讯频道!

返回编程语言教程...