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

然后按照以上步骤重新安装,即可成功!
上一篇:Spring工作原理简单探索
栏 目:JAVA代码
下一篇:详解SpringBoot文件上传下载和多文件上传(图文)
本文标题:关于eclipse安装spring插件报错An error occurred while collecting items to be installed...解决方案
本文地址:http://www.codeinn.net/misctech/49940.html


阅读排行
- 1Java Swing组件BoxLayout布局用法示例
- 2java中-jar 与nohup的对比
- 3Java邮件发送程序(可以同时发给多个地址、可以带附件)
- 4Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.Type异常
- 5Java中自定义异常详解及实例代码
- 6深入理解Java中的克隆
- 7java读取excel文件的两种方法
- 8解析SpringSecurity+JWT认证流程实现
- 9spring boot里增加表单验证hibernate-validator并在freemarker模板里显示错误信息(推荐)
- 10深入解析java虚拟机




