如何在Netbeans中设置Tomcat服务器? [英] How to setup Tomcat server in Netbeans?

查看:816
本文介绍了如何在Netbeans中设置Tomcat服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了一下,发现可以通过 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:

  1. 工具->插件->可用插件,搜索"tomcat"并安装一个名为"Java EE Base插件"的插件.
  2. 重新启动Netbeans
  3. 在项目视图(默认为屏幕左侧)上,转到服务,右键单击服务器",然后单击添加服务器"
  4. 选择Apache Tomcat,输入用户名和密码,然后配置其余部分并完成

这篇关于如何在Netbeans中设置Tomcat服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆