本文介绍了如何在 Netbeans 中设置 Tomcat 服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我google了一下,发现可以通过services--->servers--->add new来完成,但是当我尝试以这种方式添加新的 Tomcat 服务器时,它没有出现在列表中.实际上没有显示可供选择的内容.我现在能做什么?我已经成功为 Eclipse 配置了 Tomcat.
I googled a bit and found that it can be done by services--->servers--->add new,but when I try to add new Tomcat server this way, it doesn't appear in the list. Actually nothing is displayed to select from. What can I do now? I have successfully configured Tomcat for Eclipse.
推荐答案
在 Netbeans 8 中,您可能需要手动安装 Tomcat 插件.下载并解压 Tomcat 后,请按照以下步骤操作:
In Netbeans 8 you may have to install the Tomcat plugin manually.After you download and extract Tomcat follow these steps:
- Tools -> Plugins -> Available plugins,搜索tomcat"并安装名为Java EE Base plugin"的插件.
- 重启 Netbeans
- 在项目视图(屏幕默认左侧)上,转到服务,右键单击服务器,然后单击添加服务器"
- 选择Apache Tomcat,输入用户名和密码,其余配置完成
这篇关于如何在 Netbeans 中设置 Tomcat 服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!