【发布时间】:2021-10-13 09:27:13
【问题描述】:
我已经下载了tomcat 64-bit windows zip。我尝试在 Windows 10 中安装带有 service.bat 文件的 tomcat 9。但是在从命令行执行 service.bat 时,我看到了以下错误,即使我有 tomcat9.exe 并且在 env 变量中正确定义了 CATALINA_HOME。我不确定这里缺少什么。您的建议很有帮助。
执行 service.bat 时出错
Neither the Tomcat9.exe file nor the 'tomcat9'.exe file was found...
Either the CATALINA_HOME environment variable is not defined correctly or
the incorrect service name has been used.
Both the CATALINA_HOME environment variable and the correct service name
are required to run this program.
CATALINA_HOME: C:\Program Files\apache-tomcat-9.0.54
错误图片:
【问题讨论】:
-
请don't upload text as image。编辑您的问题以包含文本形式的所有信息 - 考虑使用编辑器的格式选项。另见How to Ask。
标签: tomcat windows-10 tomcat9