怎么启动tomcat服务器及闪退问题

怎么启动tomcat服务器
1.启动tomcat目录。 tomcat目录/bin/startup.bat(window启动文件) 找到startup.bat 双击运行。会有一个黑窗口,黑窗口不要关闭。(如果关闭,相当于把tomcat停止了。)

在这里插入图片描述

2.在浏览器地址栏中输入:http://localhost:8080 或者 http://127.0.0.1:8080localhost ,如果看到如下页面,证明启动成功

在这里插入图片描述
闪退问题
重启一下电脑,或者检查一下端口是否被暂用了

猜你喜欢

转载自blog.csdn.net/weixin_44174536/article/details/90346646