Tomcatに基づいてWebアプリケーションを作成しようとしています。 Tomcatフォルダを設定できません： >
エラー：<事前> <コード> The specified Server Location (Catalina Home) folder is not valid.
Trying to create Web application based on Tomcat. Can't set Tomcat folder:
The specified Server Location (Catalina Home) folder is not valid.
How to fix this problem?</div
Netbeans 8.1 doesn't support Tomcat 9.
Upgrade your Netbeans to 8.2, or use Tomcat 8 instead.</div
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</div
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</div
Try to set the environment variables:
PATH: ......C:Progra..Javajdk1.7.0_51 C:apache-tomcat-7.0.52-windows-x86apache-tomcat-7.0.52in CATALINA_HOME: F:apache-tomcat-7.0.52-windows-x86apache-tomcat-7.0.52 JAVA_HOME: C:Progra..Javajdk1.7.0_51 JRE_HOME: C:Progra..Javajre7
and restart apache after it!</div
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.
One possible reason that someone might receive this error, especially on MacOS or *nix platforms, is permissions. On MacOS, the NetBeans 8-ish installers will install Tomcat in the NetBeans Applications folder, e.g.,
If you are following that pattern and upgrade Tomcat to a currently compatible version with your version of NetBeans, you may be forced to unpack the binary as
sudo tar xvf ~/Downloads/apache-tomcat-maj.min.patch.tar.gz -C /Applications/NetBeans. This will untar your NetBeans install without write permissions for
group, other, e.g.,
You can correct that with
sudo chown -R user:group apache-tomcat-maj.min.patch as apropos,
sudo chown -R javafueled:admin apache-tomcat-maj.min.patch
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</div
Just download the appropriate tomcat file and unzip.</div
Sometime you have to open the folder of tomcat server after installing it. It wants permission to open it.then Your problem of catlina home will be solved...</div