问题描述
运行项目时显示错误页,无法成功进入目标页
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
Process finished with exit code 1
解决方法:去CMD查杀
-
win+R
-
输入netstat -ano
找到8080端口
-
使用
taskkill/pid 81168 -f
终止进程
其中,81168是上图找到8080端口对应的pid号,因人而异。