我遵循本教程(http://serendipstick.blogspot.com/2011/01/setup-eclipse-jee6-primefaces-and.html),但无法安装 Glassfish。情况如下:
我在这里:“现在让我们启动 Eclipse 并安装一些插件......” 和 “3) 通过“服务器”选项卡进行 Glassfish 集成、添加新服务器、下载其他服务器适配器、Oracle 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:
org.eclipse.update.feature,oracle.eclipse.tools.juno.glassfish,2.0.1.201201241920.
MD5 hash is not as expected. Expected: 8df101dee12517a86fe92bf6644cd44f and found fbef299b507f02fcab8887c108e82434.
你能告诉我发生了什么事吗?如何安装 Oracle Glassfish 服务器工具?
最佳答案
我今天遇到了确切的问题。我尝试通过 Eclipse Juno IDE 中的“新建服务器向导”安装 GlassFish 服务器适配器。在下载/安装过程中,我收到了与您相同的错误消息。
通过转到“帮助”->“安装新软件...”并输入此站点位置解决了问题:http://download.java.net/glassfish/eclipse/juno 。请务必选中Oracle GlassFish Server Tools选项。
关于java - Eclipse 上的 Glassfish 。收集要安装的项目时发生错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13012647/