首页 > 其他 > 详细

An error occurred while collecting items to be installed

时间:2016-11-14 14:55:51      阅读:2740      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!