标签:host may top 关于 src pac workspace 没有 .com
关于 下面问题是因为(8005, 8080, 8009) 被原tomcat占用了。
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).
在使用eclipse新创建tomcat时server也使用了(8005, 8080, 8009),因此运行项目会报告以上错误。
解决方案简单粗暴,把新创建的server的端口都修改了。找到空间下的server.xml(E:\eclipse-workspace\Servers\Tomcat v9.0 Server at localhost-config\server.xml),查找到8005, 8080, 8009改成自己想的端口。也可以eclipse里修改,在如下图8005, 8080为8006,8081,8009没有截图出来,大家可以按ctrl+f5查找。改完后,运行就不会再报以上的错误了。
Java tomcat Several ports (8005, 8080, 8009) required by Tomcat v9.0 Server at localhost
标签:host may top 关于 src pac workspace 没有 .com
原文地址:https://www.cnblogs.com/lizhenhong/p/10344872.html