当运行Springboot项目是,报了一个端口号被占用的错
Description:
Web server failed to start. Port 10000 was already in use.
Action:
Identify and stop the process that's listening on port 10000 or configure this application to listen on another port.
此时查看一下端口号,打开cmd:
netstat -ano|findstr “10000”
tasklist|findstr "15956"
发现端口号被占用了。所以重新换一个端口号或者杀死进程就可以了!