简体   繁体   English

如何在 netbeans 8.2 中更新 glassfish 4.1.1

[英]How do I update glassfish 4.1.1 inside netbeans 8.2

I am working on a tutorial using glassfish inside netbeans https://netbeans.org/kb/docs/javaee/ecommerce/setup.html .我正在使用 netbeans https://netbeans.org/kb/docs/javaee/ecommerce/setup.html 中的glassfish 编写教程。 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我在互联网上看到有人说这个错误是因为 glassfish 版本 4.1.1 中存在一个错误,但是当我尝试从 Netbeans 内部更新 glassfish 时在此处输入图片说明

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如果我进入 glassfish 管理区域并单击更新工具也无济于事更新工具

Cause no Items show up even though there have been updates since and glassfish is now on version 5.0.因为即使有更新,也没有显示任何项目,并且 glassfish 现在是 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顺便说一下,我在http://amibehindaproxy.com/ 上检查了我是否在代理后面,但我没有,我的网速显示了这一点在此处输入图片说明

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.还有一些关于该主题的其他帖子,但没有一个解决方案对我有帮助。

The Update Center in GlassFish no longer works because the server it tries to connect to does not exist any more after Oracle ended commercial support.在 Oracle 终止商业支持后,GlassFish 中的更新中心不再工作,因为它尝试连接的服务器不再存在。 To update GlassFish you will need to:要更新 GlassFish,您需要:

  • Download GlassFish separately单独下载 GlassFish
  • Unzip it to a location of your choice将其解压缩到您选择的位置
  • Add it to netbeans manually by right-clicking "servers" and choosing "Add Server"通过右键单击“服务器”并选择“添加服务器”手动将其添加到 netbeans

If you are concerned about bugs in GlassFish, you may want to try Payara Server, which is derived from GlassFish but has many more bug fixes.如果您担心 GlassFish 中的错误,您可能想尝试Payara Server,它派生自 GlassFish,但有更多错误修复。 (Payara Server has the same free, open source license as GlassFish) (Payara Server 拥有与 GlassFish 相同的免费开源许可证)

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

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