遇到Several ports (8005, 8080, 8009) 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).这种情况怎么办?
中文翻译如下:
本地主机上的tomcatv9.0服务器所需的几个端口(8005808009)已经在使用中。服务器可能已经在另一个进程中运行,或者某个系统进程正在使用该端口。要启动此服务器,您需要停止其他进程或更改端口号。
接下来进行更改端口号:
找到自己的server.xml的位置,重新设置端口号。
可以进行编辑,再保存。
查找port,找到8005,进行修改,随便思维,一般修改后两位,我修改为了8010
如图,修改为8010,Ctrl+s进行保存