简体   繁体   中英

How to use external Tomcat server in Netbeans on Linux?

I am trying to use the external tomcat server installed on my machine (Ubuntu 11.10) and I a going through the motions of adding a new server to Netbeans, in the Server Location field I enter the /usr/share/tomcat6 directory but it gives an error:

The specified Server Location (Catalina Home) folder is not valid

I have searched Google, used the Netbeans wiki, and have searched here also but nothing seems to be able to get me past this point.

Yes, Netbeans does support external Tomcat installations. It does so without any problems on Windows, but there are a few wrinkles if you want to do it on Linux - with Ubuntu-based distributions anyway.

I wrote up my experiences here:

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

Hopefully, that should help.

是的,可以调试远程Tomcat,请参阅http://wiki.apache.org/tomcat/FAQ/Developing#Q3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM