问题
通过http://dl.google.com/eclipse/plugin/3.7安装适用于Eclipse 3.7的Google Plugin时,花了将近半个小时才完成下载并最终停止。
一长串错误消息“ .jar已被篡改! ”在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=).
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.indexer,1.0.200.20111228-1245
Retry another mirror
Problems downloading artifact: osgi.bundle,org.eclipse.m2e.maven.runtime,1.0.200.20111228-1245.
File has invalid content:C:\Users\mkyong\AppData\Local\Temp\signatureFile755577951398164410.jar
Invalid content:jars/aether-connector-wagon-1.11.jar
The file "jars/aether-connector-wagon-1.11.jar" in the jar "C:\Users\mkyong\AppData\Local
\Temp\signatureFile755577951398164410.jar" has been tampered!
Invalid content:jars/guice-plexus-shim-2.0.0.jar
Invalid content:jars/maven-aether-provider-3.0.2.jar
The file "jars/maven-aether-provider-3.0.2.jar" in the jar "C:\Users\mkyong\AppData\Loca
\Temp\signatureFile755577951398164410.jar" has been tampered!
Invalid content:jars/sisu-guice-2.9.4-no_aop.jar
//......
解
通过该线程 ,JDK / JRE 7将导致Eclipse的Google插件无法下载。
要解决此问题,请将Eclipse的JRE改回更稳定的版本,例如JRE 6。
参考
翻译自: https://mkyong.com/google-app-engine/google-plugin-for-eclipse-jar-has-been-tampered/