当在启动tomcat服务器的时候出现了如下报错:
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).
是由于 8005,8080 端口被占用。被占用可能是 由于eclispe被非正常关闭,而tomcat是打开状态,所以端口被原来开着的tomcat占用。又或者被其他端口占用。
解决方法:关闭后台java虚拟机的进程,然后重新启动即可运行成功


本文介绍了在启动Tomcat服务器时遇到端口冲突的问题,主要原因是Eclipse未正常关闭或其他进程占用。解决方法是关闭占用的后台Java虚拟机,然后调整端口号以重启Tomcat。
5363

被折叠的 条评论
为什么被折叠?



