运作项目Tomcat报错

运行项目Tomcat报错

1、具体报错如下:

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.

2、截图如下:

运作项目Tomcat报错


3、解决办法

<Connector connectionTimeout="20000" port="8086" protocol="HTTP/1.1" redirectPort="8443"/>

修改为:

<Connector connectionTimeout="100000" port="8086" protocol="HTTP/1.1" redirectPort="8443"/>