Olowofoyeku Tolu
Olowofoyeku Tolu

Reputation: 1

Netbeans 12 on Windows won't let me connect Tomcat

No matter which tutorial I follow, I am unable to get apache-tomcat-8.0.9 to work with Netbeans 12. The IDE keeps showing the error message The specified Server Location (Catalina Home) folder is not valid. I'm using jdk-14.0.1 and apache-ant-1.9.15.

The error: The Error Message

My Catalina home directory C:\Program Files\apache-tomcat-8.0.9 My Catalina home directory C:\Program Files\apache-tomcat-8.0.9

Perhaps this error testing tomcat from the command line has some clues? Perhaps this error testing tomcat from the command line has some clues?

Upvotes: 0

Views: 1979

Answers (3)

Gabriel
Gabriel

Reputation: 1

I solved it in this way:

Go to the folder of Tomcat and enter, the system tells me that I don't have rigths, and if I want enter? I select yes. The system displays the content of the folder. I try again to conect netbeas with tomcat and now it works.

Upvotes: 0

Vasile Stan
Vasile Stan

Reputation: 1

I had the same problem and I fixed it by created CATALINA_HOME environment variable. For creating CATALINA_HOME in environment variable specify the path of catalina.bat file in tomcat folder installation without bin folder.

Ex: if you have catalina.bat in C:\Program Files\Apache\Tomcat\bin\catalina.bat, then specify in CATALINA_HOME just C:\Program Files\Apache\Tomcat as path.

Upvotes: 0

Antifurer
Antifurer

Reputation: 11

Based on the last link from the question try this: In file nbproject/project.properties try to change this line (it may contains other path)

endorsed.classpath=\
    ${libs.javaee-endorsed-api-7.0.classpath}

to this:

endorsed.classpath=

Upvotes: 0

Related Questions