NetBeans: Cannot start Tomcat ("The system cannot find the specified file")

I just installed NetBeans 8.2 along with Tomcat 8.0.27 on a Windows server VDI instance. I am an experienced NetBeans / Tomcat user (mainly on Mac OS recently), so this is not new to me.

After installing NetBeans and Tomcat, I try to start Tomcat from the ServicesNetBeans window , as always. Unfortunately, Tomcat does not start, and this is the only way out of the NetBeans window Outputon the tab Apache Tomcat 8.0.27:

Using CATALINA_BASE:   "D:\dev\apache-tomcat-8.0.27.0_base"
Using CATALINA_HOME:   "D:\dev\Apache Tomcat 8.0.27"
Using CATALINA_TMPDIR: "D:\dev\apache-tomcat-8.0.27.0_base\temp"
Using JRE_HOME:        "D:\dev\jdk18"
Using CLASSPATH:       "D:\dev\Apache Tomcat 8.0.27\bin\bootstrap.jar;D: \dev\Apache Tomcat 8.0.27\bin\tomcat-juli.jar"
The system cannot find the file specified.

I checked that all locations in the above message really exist, so I don’t know which file it cannot find. If this was some kind of resolution issue, I would expect him to say the same (right?).

You can see here that I have some non-standard installation locations for NetBeans and Tomcat, but I also tried with standard installation locations, and I have the same result (these locations avoid the intrusive antivirus scanner of the company).

I can start Tomcat from the command line using startup.bator catalina.bat, so I know that installing Tomcat is fine. However, this is not as convenient as it is with NetBeans.

What can I do to understand why NetBeans cannot start Tomcat? I looked through several log files, but there was nothing about Tomcat. Perhaps I do not see all the NetBeans log files.

I do not know where else to look or what else to try. I have used NetBeans and Tomcat for many years and have never encountered this problem.

Thank!

+4
1

, . , ( ). "" β†’ "" β†’ "" β†’ " ": " ".

enter image description here

+9

Source: https://habr.com/ru/post/1662208/


All Articles