Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup Tomcat server in Netbeans?

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.

like image 782
Achini Samuditha Avatar asked Feb 03 '12 16:02

Achini Samuditha


2 Answers

In Netbeans 8 you may have to install the Tomcat plugin manually. After you download and extract Tomcat follow these steps:

  1. Tools -> Plugins -> Available plugins, search for 'tomcat' and install the one named "Java EE Base plugin".
  2. Restart Netbeans
  3. On the project view (default left side of the screen), go to services, right click on Servers and then "Add Server"
  4. Select Apache Tomcat, enter username and password and config the rest and finish
like image 129
svarog Avatar answered Nov 18 '22 13:11

svarog


I had same issue. No need to re install.

In Netbeans 6.0 , Find RunTime -> Servers - > Add server -> select Tomcat install 'root' directory

In Netbeans 7.x -> Tools -> Servers-> Add server -> select Tomcat install 'root' directory

Here is in Netbeans Wiki.

http://wiki.netbeans.org/AddExternalTomcat

like image 11
MPV Avatar answered Nov 18 '22 12:11

MPV