我正在尝试在 Eclipse v3.7 (Indigo) 上安装 Google APIs Eclipse 插件。我已经通过 Eclipse 的“安装新软件”功能从存档的本地副本(ZIP 文件)和在线尝试,但无法使其正常工作。相反,我不断收到这些信息:
出现多个问题:
“安装下载 0”期间发生内部错误。
安装下载
0 安装下载
0 安装下载
1 安装下载
2 安装下载2
单击更多信息会显示以下内容:
在“安装 download0”期间发生内部错误。
比较方法违反了它的总合同!
错误日志说:
Error closing the output stream for osgi.bundle,org.eclipse.m2e.maven.runtime,1.0.200.20111228-1245 on repository file:/C:/eclipse/.
Stack trace:
eclipse.buildId=I20110613-1736
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86
This is a continuation of log file C:\Users\Hiromi\workspace\.metadata\.bak_0.log
Created Time: 2013-05-25 21:15:24.600
Error
Sat May 25 21:22:55 BST 2013
Error closing the output stream for osgi.bundle,org.eclipse.m2e.maven.runtime,1.0.200.20111228-1245 on repository file:/C:/eclipse/.
java.io.IOException: Error unzipping C:\Users\Hiromi\AppData\Local\Temp\org.eclipse.m2e.maven.runtime_1.0.200.20111228-12454266317341648757159.jar: Invalid zip file format
at org.eclipse.equinox.internal.p2.core.helpers.FileUtils.unzipFile(FileUtils.java:75)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ZippedFolderOutputStream.close(SimpleArtifactRepository.java:185)
at java.io.FilterOutputStream.close(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ArtifactOutputStream.close(SimpleArtifactRepository.java:113)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:244)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:191)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:122)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:664)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
并且:
No repository found containing: osgi.bundle,com.ning.async-http-client,1.6.3.201112281337
和:
No repository found containing: osgi.bundle,org.jboss.netty,3.2.4.Final-201112281337
我 100% 确定我正在下载该插件的 Eclipse 3.7 版本,并且互联网上列出的其他修复都没有帮助。非常感谢任何帮助,如果需要任何其他信息,我非常乐意提供 - 非常感谢!