今天电脑重装了系统,下载解压tomcat发现startup.bat打开就闪退.不知道咋回事,打开windows命令输入cmd->cd 进入到tomcat的bin目录,输入startup.exe回车. 显示: The JRE_HOME environment variable is not defined correctlyThis environment variable is needed to run this program 提示我JRE_HOME的环境变量没配,于是我把JRE的目录也配置…
TOMCAT启动时报错:the CATALINA_HOME environment variable is not defined correctly 运行tomcat/bin目录下的startup.bat时报错:the CATALINA_HOME environment variable is not defined correctly 碰到这个问题时的第一反应是添加CATALINA_HOME环境变量: 添加环境变量后发现问题不能解决,还是报同样的错误,打开startup.bat脚本,找到…