Server at localhost was unable to start within 45 seconds

错误:Server Tomcat vX.0 Server at localhost was unable to start within 45 seconds

表示:服务器启动时间不能超过45秒,否则视为启动失败。

在需要的情况下,服务器的启动时间超过45秒则需要通过修改配置来实现

修改工程所在文件夹下的\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。 
把其中的start-timeout="45" 改为  start-timeout="100" 或者更长。

猜你喜欢

转载自blog.csdn.net/zhuiyucanxin/article/details/46628011