打开tomcat->bin->startup.bat,cmd显示以下信息
The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program
可能是环境变量的配置名字太长把变量值弄短一点就可以(比如把apache-tomcat-10.1.18 win64改为apache-tomcat-10.1)
打开tomcat->bin->startup.bat,cmd显示以下信息
The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program
可能是环境变量的配置名字太长把变量值弄短一点就可以(比如把apache-tomcat-10.1.18 win64改为apache-tomcat-10.1)