Reputation: 301
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.
Upvotes: 19
Views: 167033
Reputation: 1156
In addition to all the mentioned answers, I repeatedly got this error The specified Server Location (Catalina Home) folder is not valid.
Mine is a Windows system.
It’s rather simple to sort this.
Go to File Explorer
and locate your Tomcat Folder.
(The path for mine was C:\Program Files\Apache Software Foundation\Tomcat 9.0
)
Open the Tomcat Folder (Tomcat 9.0
).
You will most likely get a message saying you have no permission (or something to that effect). Click the button which gives you Permanent Permission.
Now close File Explorer, and paste the path (C:\Program Files\Apache Software Foundation\Tomcat 9.0
) in the required field in NetBeans and continue installation. That’s all!!
Hope this helps!
Upvotes: 2
Reputation: 461
If TomCat is install. Perhaps it is not installed Java EE. Services-> plug-ins-> additional plug-ins-> in the search dial tomcat. and install the module java ee. then in the services, servers, add the tomcat server.
Upvotes: 1
Reputation: 9847
In Netbeans 8 you may have to install the Tomcat plugin manually. After you download and extract Tomcat follow these steps:
Upvotes: 18
Reputation: 395
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
Upvotes: 11
Reputation: 493
While installing Netbeans itself, you will get an option which servers needs to be installed and integrated with Netbeans. First screen itself will show.
Another option is to reinstall Netbeans by closing all the open projects.
Upvotes: 3