在 tomcat/bin/startup.bat 文件末尾添加
pause
后重新启动,可以看到错误原因,一般是没有设置 JAVA_HOME 环境变量造成的,错误显示:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program解决问题后把添加的
pause
去掉,重新启动
tomcat启动闪退
最新推荐文章于 2024-04-23 18:18:10 发布