在eclipse中运行项目时出现以下问题,如何解决

Several ports (8005, 8080) required by Tomcat v9.0 Server at localhost are 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).

img

8005 8080端口已经被占用了,修改端口或者重启电脑就行了