安装的插件: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后,可正常安装插件.
参考: