您的位置:首页 > 运维架构 > Tomcat

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

2017-11-19 18:16 573 查看
Server Tomcat v8.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启动出错,一直停在

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSour....................................

一开始不知道什么问题,按照搜到的去改启动时间的时长(双击tomcat服务器,出现一个视图,有个timesout,点开,把45改成更大的数。。。之类的解决方法),结果还是不行,后来搜了一下

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSour....................................

原来是数据库服务没有开,但我的数据库服务一直是开机自启的,可能因为在最开始出现tomcat启动出错的时候电脑卡了,曾把电脑关机重启了,可能因此不知道什么原因,数据库服务关闭了,没想到是这个错误,耽误了好些时间。。。。。。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐