Port 8080 required by Tomcat v8.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
1、运行服务器时报错:
2、解决
①、Windows搜索cmd.exe,右键选择“以管理员身份运行”(根据电脑不同此操作不同,有的电脑占用该端口号的进程需要管理员权限才可以终止(则需要“以管理员身份运行”),有的则不需要(windows+R,cmd进入命令)
②、找到占用端口号8080的进程
netstat -ano | findstr 8080
taskkill -pid 9360 -f