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

 

 

文章来自:http://www.cnblogs.com/ringceving/p/6061537.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3