eclipse 中离线安装activiti插件,报错“An error occurred while collecting items to be installed session context was:(...”

eclipse 中离线安装activiti插件,报错“An error occurred while collecting items to be installed session context was:(...”

按照文章:eclipse离线安装Activiti Designer插件,下载插件的两个离线安装文件,并按照步骤安装后,一直next后报错,如下:

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.apache.commons.io,2.2.0.v201405211200
No repository found containing: osgi.bundle,org.apache.commons.lang,2.6.0.v201404270220
No repository found containing: osgi.bundle,org.apache.xerces,2.9.0.v201101211617
No repository found containing: osgi.bundle,org.apache.xml.resolver,1.2.0.v201005080400
No repository found containing: osgi.bundle,org.apache.xml.serializer,2.7.1.v201005080400
No repository found containing: osgi.bundle,org.eclipse.draw2d,3.10.0.201506010206
No repository found containing: osgi.bundle,org.eclipse.emf,2.6.0.v20150601-0402
No repository found containing: osgi.bundle,org.eclipse.emf.common.ui,2.10.0.v20150601-0402
No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.11.0.v20150601-0402
No repository found containing: osgi.bundle,org.eclipse.emf.edit.ui,2.11.0.v20150601-0402
No repository found containing: osgi.bundle,org.eclipse.emf.transaction,1.9.0.201506010221
No repository found containing: osgi.bundle,org.eclipse.emf.validation,1.8.0.201505312255
No repository found containing: osgi.bundle,org.eclipse.gef,3.10.0.201506010206
No repository found containing: osgi.bundle,org.eclipse.wst.common.core,1.2.0.v200908251833
No repository found containing: osgi.bundle,org.eclipse.wst.common.environment,1.0.400.v200912181831
No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks,1.2.200.v201304241450
No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks.ui,1.2.400.v201504292002
No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.300.v201111030423
No repository found containing: osgi.bundle,org.eclipse.wst.common.ui,1.1.500.v200911182011
No repository found containing: osgi.bundle,org.eclipse.wst.common.uriresolver,1.2.200.v201505132009
No repository found containing: osgi.bundle,org.eclipse.wst.sse.core,1.1.900.v201401092025
No repository found containing: osgi.bundle,org.eclipse.wst.sse.ui,1.3.400.v201505141512
No repository found containing: osgi.bundle,org.eclipse.wst.validation,1.2.600.v201501211647
No repository found containing: osgi.bundle,org.eclipse.wst.validation.ui,1.2.500.v201310231452
No repository found containing: osgi.bundle,org.eclipse.wst.xml.core,1.1.902.v201501211904
No repository found containing: osgi.bundle,org.eclipse.wst.xml.ui,1.1.501.v201501212057

后上网查找文章:

An error occurred while collecting items to be installed session context was:(profile=epp.package.je

原因在于:出现错误的原因是Eclipse的更新管理P2出错了。p2有它的一个垃圾回收机制,之前删除的JAR包在未被回收之前,再次重装,系统不会做重新download的动作,但是它又找不到那个JAR包了,故而报错。

解决办法:

在运行命令行中切换到Eclipse的安装根目录,即eclipse.exe所在目录执行命令:

eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile **** (****是configuration/concfig.ini里eclipse.p2.profile项的值)。

上面的命令有点看不懂,“**** ””这到底是是填这个**** ,还是按照后面括号的注释填入新的值,有点懵,主要是eclipse.p2.profile项的值我找了,但不明确到底

等于哪段值。反正试了,最后报错,但还是安装成功了。

我的安装过程记录如下:

1.进eclipse根目录:

2.执行上面的命令行:

其中,第1个直接启动了eclipse成功未报错,第2、3条启动eclipse后,报错,也就是为成功启动eclipse。

硬头皮试了一下,反正最后我在eclipse中再安装插件包时没有报错了,直接安装成功,不知道是这三个中的哪个起效果了。记录一下,以后再次安装时多试验几遍,看哪个起作用的。

原文地址:https://www.cnblogs.com/zz22--/p/11173962.html

时间: 2024-11-03 03:29:13

eclipse 中离线安装activiti插件,报错“An error occurred while collecting items to be installed session context was:(...”的相关文章

安装Spring报错An error occurred while collecting items to be installed

原因主要是eclipse和spring版本之间的匹配问题. An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi

Eclipse安装maven插件报错

Eclipse安装maven插件,报错信息如下: Java代码   Cannot complete the install because one or more required items could not be found. Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 

Eclipse中如何安装Git插件

现在的Eclipse一般都自带Git插件. 检查Eclipse是否有Git插件: 方法一:Help—>About Eclipse,出现下面的图标,说明Eclipse中已有Git插件,就不用安装了. 方法二:Window—>Preferences—>Team,如果有Git目录则说明Eclipse中已有Git插件,就不用安装了. Git插件安装: 如果Eclipse中没有Git插件,可以通过以下方式安装: 方式一: 打开Eclipse,Help—>Install New Softwar

NETCore项目报错 An error occurred while starting the application

在发布到IIS的webApi项目中,运行时报出以上错误, 解决方法: 1.打开发布目录文件夹,找到web.config文件 2.打开web.config找到stdoutLogEnabled="false",把该值改为true,即->stdoutLogEnabled="true" <?xml version="1.0" encoding="utf-8"?> <configuration> <l

eclipse离线安装activiti插件

最近工作中要用到activiti工作流,在eclipse[ 版本:Mars.2 Release (4.5.2) ]中安装插件时,参考了网上的安装教程,发现一些问题: 在线安装时,提供的路径Location:http://www.activiti.org/designer/update存在问题,安装时报错Unable to read repository at http://www.activiti.org/designer/update/content.xml,如图: 离线安装时,提供的路径为h

Eclipse中导入项目Js文件报错

在Eclipse中导入项目时js文件报错,解决的方法是关闭eclipse的js校验功能. 1. 选择window->preferences->JavaScript->Validator->Errors/Warning,将Enable JavaScript Sematic validation前面的钩去掉. 打开项目文件中的.project文件,把下面的代码去掉 <buildCommand> <name>org.eclipse.wst.jsdt.core.ja

Eclipse中已安装的插件如何卸载

最近在Eclipse中安装了一个插件,导致Eclipse使用的时候有些问题,就找了资料,原来Eclipse中的插件也是可以卸载的. 方法是点击菜单"Help","Install New Software...",在弹出的对话框中选择右下角的"already installed" 然后就显示已经安装的插件: 选择要卸载的插件,然后点"Uninstall..."把它卸载掉.

[转] Eclipse中已安装的插件如何卸载

转自 : http://blog.csdn.net/macong01/article/details/7631105 最近在Eclipse中安装了一个插件,导致Eclipse使用的时候有些问题,就找了资料,原来Eclipse中的插件也是可以卸载的. 方法是点击菜单“Help”,“Install New Software...”,在弹出的对话框中选择右下角的“already installed” 然后就显示已经安装的插件: 选择要卸载的插件,然后点“Uninstall...”把它卸载掉.

如何卸载Eclipse中已安装的插件

最近才知道原来Eclipse还可以自己卸载已经安装的插件,方法是点击菜单"Help","Install New Software...",在弹出的对话框中选择那个非常隐蔽的"already installed"链接: 然后就显示已经安装的插件: 现在就可以选择要卸载的插件,然后点"Uninstall..."把它卸载掉. 这个方法对Eclipse Galileo (3.5)有效,其他版本你需要自己试一下.