An error occurred while collecting items to be installed

安装的插件:Activiti

在Eclipse安装插件时,报以下错误:

session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

Problems downloading artifact: osgi.bundle,org.eclipse.net4j.jms.api,1.0.0.v200906160348.

File has invalid content:C:\Users\EWINGL~1\AppData\Local\Temp\signatureFile8127807357535155904.jar

Invalid content:lib/jms.jar

The file "lib/jms.jar" in the jar "C:\Users\EWINGL~1\AppData\Local\Temp\signatureFile8127807357535155904.jar" has been tampered!

原因:

On Windows 7, the Program Files directory is protected so apps can‘t automatically write there.

在Win7系统,Program Files目录有写保护状态,导致应用(Eclipse)没有权限进行写操作.

导致这个原因是因为我用的是域账号登录的(办公)电脑,而不是管理员.

处理:将Eclipse放在一个当前用户可写的目录,例如C盘的目录,

将eclipse放在c:/eclipse后,可正常安装插件.

参考:

http://stackoverflow.com/questions/9544071/an-error-occurred-while-collecting-items-to-be-installed-access-is-denied

时间: 2024-11-07 12:31:26

An error occurred while collecting items to be installed的相关文章

安装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 中离线安装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 co

An error occurred while collecting items to be installed session context was:(profile=DefaultProfile... 解决方案

遇到同样问题的小伙伴请:点击Eclipse上方工具栏中help --> Install new software... --> 看图 点击进红框的位置在打开的窗口中,将窗口右侧的Available Software Sites 中对应的没有用的链接删除,重启Eclipse即可解决问题!

Error occurred during initialization of VM java/lang/NoClassDefFoundError

因工作需要,这两天一直在RedHat Linux下配置Tomcat6.在手动安装JDK并配置完环境变量后,报出很奇怪的问题: Error occurred during initialization of VM java/lang/NoClassDefFounction...出现此问题先检查环境变量配置是否正确 如果没问题就看一下lib和jre/lib中的rt.pack.tools.pack如果发现这两个文件的话,就是因为他们没有解压我们只需要把他们解压成rt.jar和tools.jar就一切O

An error occurred at line: 1 in the generated java file问题处理

tomcat6启动后,加载jsp页面报错,提示无法将jsp编译为class文件,主要报错信息如下: An error occurred at line: 1 in the generated java file 最后确认该错误原因为:tomcat6不支持jdk1.8版本 修改jdk为1.7,刷新工程,通过!

转: rdlc报表An error occurred during local report processing错误

在开发环境的电脑上可生成报表,但是一到客户端就提示An error occurred during local report processing错误. 猜想是缺dll,补充上 Microsoft.ReportViewer.Common.dll Microsoft.ReportViewer.WinForms.dll 结果问题依旧,难道还缺? google后得知还缺一个 Microsoft.ReportViewer.ProcessingObjectModel.dll 这个可不好找,在C:\Wind

An internal error occurred during: "Requesting JavaScript AST from selection". GC overhead limit exc

1.错误描述 An internal error occurred during: "Requesting JavaScript AST from selection". GC overhead limit exceeded 单击"OK"后,提示如下图所示: 2.错误原因 由于用Eclipse编写JavaScript时,出现了return,位置不对,导致错误 3.解决办法 Windows--->Preference--->JavaScript (1)图一

禁止root远程登录 sshd问题:A protocol error occurred. Change of username or service not allowed

在研究Linux安全的时候遇到一个问题,原本打算修改linux直接远程root登陆,修改为sshd的配置文件后 Nano /etc/ssh/sshd_config 把#PermitRootLogin yes 修改为PermitRootLogin no 修改完成后,保存退出 重启sshd service sshd restart 新建一个普通用户 Useradd unixbar Passwd unixbar 在securecrt远程工具中,使用普通用户登陆的时候,出现了 The server ha

解决方法:An error occurred on the server when processing the URL. Please contact the system administrator

在WINDOWS7或SERVER2008上安装了IIS7.5,调试ASP程序时出现以下错误: An error occurred on the server when processing the URL. Please contact the system administrator 解决方法如下:     设置方法一: 以管理员身份运行CMD,将目录定位到%windir%\system32\inetsrv\,然后执行appcmd set config -section:asp -script