如何在 NetBeans 6.9.1 上注册 Tomcat 6 服务器?

发布于 2024-10-10 01:05:13 字数 489 浏览 0 评论 0原文

我刚刚下载了用于 JavaEE 的 NetBeans 6.9.1 并与 Tomcat 6 一起安装。一切都很顺利,我可以运行 NetBeans、从 IDE 中启动和停止 Tomcat 以及随意添加和删除服务器。

但是,当我尝试创建 Java EE 企业应用程序项目时,我的服务器列表为空。

我在创建项目向导底部收到的消息是“IDE 中没有注册服务器。要注册服务器,请单击“添加...”按钮。

如果我从下拉列表中添加新服务器仍然为空,但是如果我随后从向导中取消并查看服务器列表(工具 | 服务器),我最终会在列表中看到重复的 Tomcat 服务器,但仍然无法从项目的设置对话框中选择它。意味着我无法创建项目并且停滞不前。

我在 Google 上搜索后一无所获,查看了 NetBeans 文档也一无所获,所以我想在这里问一下,还有其他人遇到过这个问题吗?显示在向导中”按钮?

我运行的是 Netbeans 6.9.1、Java 1.6、Tomcat 6.0.26 和 Windows 7。

I have just downloaded NetBeans 6.9.1 for JavaEE and installed it with Tomcat 6. Everything went fine and I can run NetBeans, start and stop Tomcat from within the IDE and add and remove servers at will.

However when I try and create a Java EE Enterprise Application project my server list is empty.

The message I get at the bottom of the wizard for creating projects is "No servers are registered in the IDE. To register a server, click the "Add..." button.

If I add a new server from there the drop down list remains empty, however if I then cancel from the wizard and look at the server list (Tools | Server) I wind up with a duplicate Tomcat server in the list, but still no way of selecting it from the setup dialog for the project. This means I cannot create a project and am stalled.

I have Googled and got nothing and looked at the NetBeans docs and got nothing, so thought I would ask here. Has anyone else has encountered this problem? Am I missing the magic "make this server show up in the wizard" button?

I am running Netbeans 6.9.1, Java 1.6, Tomcat 6.0.26 and Windows 7.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文