码迷,mamicode.com
首页 > 其他好文 > 详细

An error occurred while collecting items to be installed

时间:2016-11-14 14:57:47      阅读:459      评论:0      收藏:0      [点我收藏+]

标签:images   pac   jms   tom   signature   size   lang   ref   msu   

安装的插件: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

标签:images   pac   jms   tom   signature   size   lang   ref   msu   

原文地址:http://www.cnblogs.com/ringceving/p/6061537.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!