开发者社区 问答 正文

Tomcat启动报错?报错

tomcat启动时报:

problem occurred

'starting tomcat v7.0 Server at localhost'has encountered a problem.Server Tomcat v7.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.

展开
收起
爱吃鱼的程序员 2020-06-14 15:28:40 673 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    启动时间设置太短<imgsrc="http://static.oschina.net/uploads/space/2015/0612/140030_Vb0g_566297.png"alt="">网上都是这种回答可无果因为刚进项目组后询问同事才知道还有一个原因是数据源没配正确
    <preclass="brush:java;toolbar:true;auto-links:false;">2015-06-1216:40:30:589[INFO]:RootWebApplicationContext:initializationcompletedin932ms2015-06-1216:40:31:320[INFO]:FrameworkServlet'Nanhu':initializationcompletedin558ms信息:Serverstartupin3454ms

    <spanstyle="font-size:10pt;line-height:1.5;">我这里测试环境启动服务器也只要3秒多

    <spanstyle="font-size:10pt;line-height:1.5;">你这要么是启动太慢,要么是数据库问题

    2020-06-14 15:28:57
    赞同 展开评论
问答分类:
问答地址: