在安装Eclipse Spring插件时遇到An error occurred while错误,该如何解决?

2026-06-10 14:371阅读0评论SEO基础
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计558个文字,预计阅读时间需要3分钟。

在安装Eclipse Spring插件时遇到An error occurred while错误,该如何解决?

在Eclipse 4.7中安装STS 3.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.Coll)的解决方法如下:

1. 确保已安装Eclipse Marketplace Client (MPC)。

2.打开MPC,搜索Spring Tool Suite。

3.找到并安装Spring Tool Suite 3.9.0。

4.如果仍然出现问题,尝试以下步骤:

- 关闭Eclipse,删除`eclipse/.metadata/.plugins/com.eclipsesource._internal.mpc/downloadCache`文件夹。 - 重新启动Eclipse,再次尝试安装STS 3.9.0。

如果以上方法无效,请尝试以下高级解决方法:

1. 打开Eclipse,按`Ctrl+Shift+P`打开运行对话框。

2.输入`about`并按回车键,然后点击安装新软件按钮。

3.点击添加按钮,然后输入以下URL:`http://download.eclipse.org/releases/oxygen/`

4.找到并选择Spring Tool Suite 3.9.0,然后点击下一步继续安装。

5.安装完成后,重启Eclipse。

本文以eclipse4.7安装sts3.9.0为例,解决报错

An error occurred while collecting items to be installedsession 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中输入dist.springsource.com/release/TOOLS/update/e4.7/


点击OK,并选择需要安装的四个IDE


一路Next,等待安装,在中途可能出现

An error occurred while collecting items to be installedsession context was:(profile=D__DevelopTools_eclipse_jee-oxygen_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

在安装Eclipse Spring插件时遇到An error occurred while错误,该如何解决?

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


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

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持自由互联。

本文共计558个文字,预计阅读时间需要3分钟。

在安装Eclipse Spring插件时遇到An error occurred while错误,该如何解决?

在Eclipse 4.7中安装STS 3.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.Coll)的解决方法如下:

1. 确保已安装Eclipse Marketplace Client (MPC)。

2.打开MPC,搜索Spring Tool Suite。

3.找到并安装Spring Tool Suite 3.9.0。

4.如果仍然出现问题,尝试以下步骤:

- 关闭Eclipse,删除`eclipse/.metadata/.plugins/com.eclipsesource._internal.mpc/downloadCache`文件夹。 - 重新启动Eclipse,再次尝试安装STS 3.9.0。

如果以上方法无效,请尝试以下高级解决方法:

1. 打开Eclipse,按`Ctrl+Shift+P`打开运行对话框。

2.输入`about`并按回车键,然后点击安装新软件按钮。

3.点击添加按钮,然后输入以下URL:`http://download.eclipse.org/releases/oxygen/`

4.找到并选择Spring Tool Suite 3.9.0,然后点击下一步继续安装。

5.安装完成后,重启Eclipse。

本文以eclipse4.7安装sts3.9.0为例,解决报错

An error occurred while collecting items to be installedsession 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中输入dist.springsource.com/release/TOOLS/update/e4.7/


点击OK,并选择需要安装的四个IDE


一路Next,等待安装,在中途可能出现

An error occurred while collecting items to be installedsession context was:(profile=D__DevelopTools_eclipse_jee-oxygen_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

在安装Eclipse Spring插件时遇到An error occurred while错误,该如何解决?

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


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

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持自由互联。