报错Server Tomcat v8.5 Server at localhost was unable to start within 45 seconds如何解决?如何设置Tomcat超时启动时间?

报错:Server Tomcat v8.5 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 v85服务器无法在45秒内启动。如果服务器需要更多的时间,请尝试在服务器编辑器中增加超时时间。


解决方法:
        修改Tomcat的启动超时时间
解决步骤:
        1、双击Servers视图中的对应的Server,打开Server的属性界面

                如图所示:

                

        2、在上图的Timeouts->Start属性中,将值45修改为75。 
        3、ctr+s保存修改,重启动Tomcat。
如果还报这样的错
就继续上述步骤将Timeouts下的Start值改大

猜你喜欢

转载自blog.csdn.net/weixin_42204641/article/details/81016254