Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds. If the server requires

今天新建一个javaweb项目遇到Tomcat启动超时的问题:Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds . If the server requires more time, try increasing the timeout in the server editor.

开始以为是自己Tomcat服务器无法启动导致的,但是进入tomcat安装目录bin目录启动startup.bat,结果Tomcat是可以启动的,没有问题,以为是自己配置问题,然后重新在Eclipse配置Tomcat,但是依然是这样。

上网百度,基本上都是说延长响应时间,将45改为100等等不可靠方法。

最后在一个地方看到一个方法,就完美解决了,方法如下:

1.选择Window-->Preferences.

2.选择General-->Network Connections-->Active Provider改为Manual

猜你喜欢

转载自blog.csdn.net/weixin_41660508/article/details/81915165
今日推荐