java Ubuntu 上的 Netbeans + tomcat

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2318460/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 20:35:55  来源:igfitidea点击:

Netbeans + tomcat on Ubuntu

javatomcatnetbeansubuntu

提问by AJ.

I migrated to Ubuntu from windows recently and am going to use Netbeans on it now. I have installed Netbeans using synaptic but I do not see services option in tools tab.

我最近从 Windows 迁移到 Ubuntu,现在打算在它上面使用 Netbeans。我已经使用突触安装了 Netbeans,但在工具选项卡中没有看到服务选项。

Will i have to install Tomcat separately ?

我需要单独安装Tomcat吗?

回答by Pascal Thivent

To enable the Serversitem, go Tools > Pluginsand install the Java Web Applicationsplugin (or even the whole Java Web and EEcategory) first.

要启用服务器项,请先转到 工具 > 插件并安装Java Web 应用程序插件(甚至整个Java Web 和 EE类别)。

Then, to integrate NetBeans with Tomcat, follow these instructions.

然后,要将 NetBeans 与 Tomcat 集成,请按照以下说明进行操作

Note that Servicesis notin the Toolsmenu, it's near the Projectstab:

请注意,服务不是工具菜单,这是附近的项目标签:

alt text

替代文字

You can also add a server from Tools > Servers.

您还可以从Tools > Servers添加服务器

And yes, you'll have to install Tomcat separately (and I warmly recommend to get a regular archive from Tomcat's websiteand to unzip it in your home directory i.e. don't use the packaged version that you can install from Synaptic for development).

是的,您必须单独安装 Tomcat(我强烈建议您从Tomcat 的网站获取常规存档并将其解压缩到您的主目录中,即不要使用可以从 Synaptic 安装的打包版本进行开发)。