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

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启动出错的时候电脑卡了,曾把电脑关机重启了,可能因此不知道什么原因,数据库服务关闭了,没想到是这个错误,耽误了好些时间。。。。。。。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值