Open the folder and then you find the single folder with apache tomcat 9.0. Press open then, before you just selected the main folder didn't opened it.
initially I had the same problem. I am using a windows 10 machine. This problem happened to me because of the permission issue in windows 10. All you have to do is allow permission to use the directory by going to the properties
To solve this in (Netbeans 8.2), just add the directory of the Apache Tomcat server (where you unzipped your Tomcat server to)
The directory you see in Catalina Home in the picture is where I unzipped Tomcat to.
Set is also in System Environment:
Do not add a semicolon at the end
Open the folder and then you find the single folder with apache tomcat 9.0. Press open then, before you just selected the main folder didn't opened it.
Try to set the environment variables:
and restart apache after it!
Just download the appropriate tomcat file and unzip.
initially I had the same problem. I am using a windows 10 machine. This problem happened to me because of the permission issue in windows 10. All you have to do is allow permission to use the directory by going to the properties
Download Tomcat (Windows Service Installer) format, then Install
Go to Installation Folder, then Try to open Tomcat 9.0 folder, then Windows Message Asked, then Take permission to open folder
That All and my purpose was solved to install Tomcat 9.0 in Netbeans 11.3