如何在Linux上的Netbeans中使用外部Tomcat服务器?

kem*_*102 7 linux tomcat netbeans tomcat6 netbeans-7

我正在尝试使用我的机器上安装的外部tomcat服务器(Ubuntu 11.10),我正在尝试向Netbeans添加新服务器,在Server Location字段中我输入/usr/share/tomcat6目录但是它给出了一个错误:

The specified Server Location (Catalina Home) folder is not valid
Run Code Online (Sandbox Code Playgroud)

我搜索过Google,使用过Netbeans wiki,并在这里搜索过,但似乎没有什么能够让我超越这一点.

小智 6

是的,Netbeans确实支持外部Tomcat安装.它在Windows上没有任何问题,但是如果你想在Linux上做这件事还有一些问题 - 无论如何都要使用基于Ubuntu的发行版.

我在这里写下了我的经历:

http://www.peredur.net/2011/12/linux-tomcat-and-netbeans/

希望这应该有所帮助.