将 glassfish 2.x 切换到 3.1.1

发布于 2024-12-18 04:46:02 字数 187 浏览 4 评论 0原文

所以我正在管理一个使用 glassfish 2.x 的“旧”java 项目。 好像netbeans不再支持2.x版本,所以我想将其更改为3.1.1。 如何正确地进行这种改变? 我安装了 JDK 1.6。当我尝试选择 3.1.1 时,无法修复错误“无法找到应用程序服务器 J2EE”,

提前致谢。抱歉,如果这个问题问错地方了,这确实不是我的专业。

So i am managing an 'old' java project that is using glassfish 2.x.
Seems like netbeans does not support 2.x versions anymore, so i want to change it to 3.1.1.
How to properly make that change?
I have JDK 1.6 installed. When i try to select the 3.1.1 does not fix the error "Unable to find Application Server J2EE"

Thanks in advance. Sorry if this question is in the wrong place, this is really not my specialization.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

琉璃繁缕 2024-12-25 04:46:02

几点:

  1. GlassFish Server 2.x 插件可在 netbeans 更新中心获取,因此您可以继续将最新的 NetBeans 与 GlassFish 2.x 结合使用。
  2. 由于多种原因,更改为 3.x 可能是一个好主意(取决于部署的状态)。访问 GlassFish 的方式取决于您要使用的安装。最新的 netbeans 附带了 GlassFish 3.1,并且应该可以开箱即用。要使用之前下载的 GlassFish 3.1.1 安装,您必须在 NetBeans IDE 中通过转至“工具”->“服务器”->“添加服务器”来指向它。

希望这有帮助。

A couple of points:

  1. The GlassFish Server 2.x plugin is available in the netbeans update center, so you can continue to use the latest NetBeans with GlassFish 2.x.
  2. Changing to 3.x can be a good idea for various reasons (depends on the state of your deployment). How you access GlassFish depends on which install you want to use. The latest netbeans ships with GlassFish 3.1, and should work out of the box. To use a previously downloaded GlassFish 3.1.1 installation, you'll have to point to it in the NetBeans IDE by going to Tools->Servers->Add Server.

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文