Server Location (Catalina Home) folder is not vali

2020-05-27 09:00发布

Trying to create Web application based on Tomcat. Can't set Tomcat folder: enter image description here

Error:

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

enter image description here

How to fix this problem?

8条回答
Animai°情兽
2楼-- · 2020-05-27 09:25

To solve this in (Netbeans 8.2), just add the directory of the Apache Tomcat server (where you unzipped your Tomcat server to)

enter image description here

The directory you see in Catalina Home in the picture is where I unzipped Tomcat to.

Set is also in System Environment:

enter image description here

Do not add a semicolon at the end

查看更多
仙女界的扛把子
3楼-- · 2020-05-27 09:27

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.

screenshot

查看更多
看我几分像从前
4楼-- · 2020-05-27 09:31

Try to set the environment variables:

PATH: ......C:\Progra..\Java\jdk1.7.0_51
C:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin
CATALINA_HOME: F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52
JAVA_HOME: C:\Progra..\Java\jdk1.7.0_51
JRE_HOME: C:\Progra..\Java\jre7

and restart apache after it!

查看更多
看我几分像从前
5楼-- · 2020-05-27 09:35

Just download the appropriate tomcat file and unzip.enter image description here

查看更多
够拽才男人
6楼-- · 2020-05-27 09:36

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 enter image description here

查看更多
放荡不羁爱自由
7楼-- · 2020-05-27 09:40

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

查看更多
登录 后发表回答