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

描述:eclipse启动Tomcat时报Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time....错误

这是Tomcat启动超时了。

解决:

1、双击视图中的Tomcat视图打开如图所示界面,点击Timeouts修改start时间即可(例如我改为100s),改好后保存,重启Tomcat:

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

2、若还没解决,那可能就是连接数据库出错了,例如mysql服务没开,进入控制面板-->管理工具-->服务-->右击开启mysql即可:

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