How do I update glassfish 4.1.1 inside netbeans 8.2

cop*_*p77 3 java ide netbeans-8 glassfish-4.1

I am working on a tutorial using glassfish inside netbeans https://netbeans.org/kb/docs/javaee/ecommerce/setup.html . I reached this point in the tutorial (Don't mind the Pool name, I changed it to fit my own) 教程

But when I click next I get this error 错误

I read on the internet that some people say this error occurs cause there is a bug in glassfish version 4.1.1 but when I try to update glassfish from inside Netbeans 在此处输入图片说明

And I click yes then I get this error 错误2 在此处输入图片说明

It doesn't help either if I go into the glassfish admin area and click on Update tool 更新工具

Cause no Items show up even though there have been updates since and glassfish is now on version 5.0. I by the way checked if I was behind a proxy here http://amibehindaproxy.com/ and I wasn't and my internet speed showed this 在此处输入图片说明

So is there anybody who can tell me what I do wrong??? There are some other post about the subject but non of the solutions helped me.

Mik*_*ike 5

在 Oracle 终止商业支持后,GlassFish 中的更新中心不再工作,因为它尝试连接的服务器不再存在。要更新 GlassFish,您需要:

  • 单独下载 GlassFish
  • 将其解压缩到您选择的位置
  • 通过右键单击“服务器”并选择“添加服务器”手动将其添加到 netbeans

如果您担心 GlassFish 中的错误,您可能想尝试Payara Server,它派生自 GlassFish,但有更多错误修复。(Payara Server 拥有与 GlassFish 相同的免费开源许可证)