An error occurred while collecting items to be installed

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了An error occurred while collecting items to be installed相关的知识,希望对你有一定的参考价值。

安装的插件:Activiti

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

技术分享

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=).

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

 

 

以上是关于An error occurred while collecting items to be installed的主要内容,如果未能解决你的问题,请参考以下文章

xception: An error occurred while executing doInBackground()

[问题] An error occurred while automatically activating bundle com.android.ide.eclipse.adt

mavenDescriptionResourcePathLocationType An error occurred while filtering resourcesTESTVIDEOline

Cesium学习An error occurred while rendering

An error occurred while collecting items to be installed

Tableau报错-An error occurred while communicating with Tableau Data Extract.