Eclipse Luna - 安装Hibernate Tool时出错

时间:2017-04-28 06:27:02

标签: eclipse hibernate

在Eclipse Luna中,我试图从这个Site安装Luna的Hibernate Tool。我遇到了多个错误。查找以下错误详情:

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=).
Multiple problems occurred while downloading.
Problems downloading artifact: osgi.bundle,org.hibernate.eclipse.libs,4.0.1.Final-v20150324-2307-B95.
Unpacking fails because intermediate file is empty: C:\Users\KAVIAR~1\AppData\Local\Temp\work9090771654182401354\p2.optimizers.incoming4124867544172107522.jar
Error closing the output stream for osgi.bundle,org.hibernate.eclipse.libs,4.0.1.Final-v20150324-2307-B95 on repository file:/D:/eclipse/.
Error unzipping C:\Users\KAVIAR~1\AppData\Local\Temp\org.hibernate.eclipse.libs_4.0.1.Final-v20150324-2307-B951612824584468310603.jar: Invalid zip file format

我无法找到解决方案,请提出您的想法。 提前致谢

2 个答案:

答案 0 :(得分:0)

Eclipse尝试从网站下载文件,然后将其解压缩以进行安装。

在您的情况下,它无法下载文件,或下载的文件已损坏。

检查您的互联网连接,然后重试。

答案 1 :(得分:0)