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

然后按照以上步驟重新安裝,即可成功!
以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持腳本之家。
相關文章
SpringBoot應用啟動慢的原因分析及優(yōu)化方法
在使用Spring Boot進行開發(fā)時,快速啟動應用程序是一個非常重要的需求,然而,在某些情況下,我們會遇到Spring Boot應用啟動緩慢的問題,本文將分析Spring Boot應用啟動慢的常見原因,并提供一些優(yōu)化方法,需要的朋友可以參考下2024-08-08
SpringBoot+Redis+Lua防止IP重復防刷攻擊的方法
本文主要介紹了SpringBoot+Redis+Lua防止IP重復防刷攻擊的方法,文中通過示例代碼介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們可以參考一下2021-12-12

