如何在 NetBeans 6.9.1 上注册 Tomcat 6 服务器?
我刚刚下载了用于 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论