tomcat启动常见报错解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
启动tomcat闪退调试解决
调试步骤:双击tomcat的bin目录下的startup.bat时一闪而过时,可以右键startup.bat找一个文本编辑器打开,然后在文本的最后敲上pause,保存后重新运行startup.bat,这时候窗口会留在桌面上(调试成功,把pause去掉即可)。我们可以看到DOS窗口里有错误信息。
2.报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
...
原创
2021-04-30 13:21:30 ·
1732 阅读 ·
1 评论