简体   繁体   English

在Eclipse中安装Glassfish服务器工具时出错

[英]Error installing Glassfish Server Tools in Eclipse

Since yesterday afternoon I had trouble installing Glassfish Server Tools in Eclipse Indigo and Juno, I tried it on several computers and even in different places, in spite of this, error is always the same. 从昨天下午开始,我在Eclipse Indigo和Juno中安装Glassfish服务器工具时遇到了麻烦,尽管如此,我还是在多台计算机上甚至在不同的地方尝试了它,但错误始终是相同的。

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,oracle.eclipse.tools.glassfish,4.2.1.201201241947.
MD5 hash is not as expected. Expected: 5366f96e7efd38d97445848eafaa0ed4 and found ed73a6517d24fd8099c3a4768e61744c.
Problems downloading artifact: org.eclipse.update.feature,oracle.eclipse.tools.indigo.glassfish,2.0.1.201201241947.
MD5 hash is not as expected. Expected: 1dbc10b2ac7027cae9c370de3adc984c and found f2db568f92aeb241eca747deceb23814.

What could cause this error? 是什么导致此错误? How to fix? 怎么修? Oracle has a bug? Oracle有错误吗?

Can anyone confirm if the same happens? 任何人都可以确认是否会发生同样的情况?

I had the same problem when I tried to install GlassFish server adapter through "New server wizard" in my Eclipse Juno IDE. 当我尝试通过Eclipse Juno IDE中的“新建服务器向导”安装GlassFish服务器适配器时,我遇到了同样的问题。

Eventually I succeeded to install Oracle GlassFish Server Tools by going to Help -> Install New Software... and entering this site location: http://download.java.net/glassfish/eclipse/juno (if you use other Eclipse edition end it with appropriate suffix). 最终,我通过转到帮助->安装新软件...并输入此站点位置,成功安装了Oracle GlassFish Server Toolshttp : //download.java.net/glassfish/eclipse/juno (如果使用其他Eclipse版本,请结束(带有适当的后缀)。

I just had the same problem. 我只是有同样的问题。 It turns out that turning off the anti-virus solved it. 事实证明,关闭防病毒软件可以解决该问题。 Don't ask me why... Eclipse Juno and AVG antivirus 不要问我为什么... Eclipse Juno和AVG防病毒软件

have you tried downloading and installing glass fish manually ? 您是否尝试过手动下载和安装Glass Fish? and then adding the your installation to the server's window in eclipse ? 然后将您的安装添加到Eclipse中的服务器窗口中? or what other things have you tried ? 还是您尝试了什么?

UPDATE: 更新:

Just to prevent people from downvoting me, please refer to the answer given by "dangling_pointer" , his answer is given in a more constructive way and it provides links and steps in how to do it. 为了防止人们不喜欢我,请参阅“ dangling_pointer”给出的答案 ,他的答案以更具建设性的方式给出,并提供了执行该操作的链接和步骤。 So even if both answers end up telling you the same thing, one shows the steps to get there. 因此,即使两个答案都告诉您同一件事,也可以显示达到此目的的步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM