[英]demo.war file won't run on Tomcat sever
I've created a Maven webapp project on Visual Studio code.我在 Visual Studio 代码上创建了一个 Maven webapp 项目。 Whenever I try to run the war file I get this message
每当我尝试运行战争文件时,我都会收到此消息
"@Error: Command failed with exit code 1" “@Error:命令失败,退出代码为 1”
and the output says和 output 说
"[apache-tomcat-10.0.6]: 'C:\Program' is not recognized as an internal or external command, operable program or batch file." “[apache-tomcat-10.0.6]: 'C:\Program' 不被识别为内部或外部命令、可运行程序或批处理文件。”
I know the problem is with Tomcat but I don't know how to get to that specific error.我知道问题出在 Tomcat 但我不知道如何解决该特定错误。
I would try using older version of Tomcat plugin as it was mentioned here: Can't run Tomcat Server on VS code我会尝试使用旧版本的 Tomcat 插件,因为它在这里提到: Can't run Tomcat Server on VS code
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.