之前一直懒得记录,不过最近觉得还是记录一下好一些。
由于项目过于庞大启动时间比较长,而tomcat默认超时时间为45秒,很显然对于一个庞大的项目而言是远远不够的。
错误信息如下所示:
Server Tomcat v8. Server at localhost was unable to start within seconds. If the server requires more time, try increasing the timeout in the server editor.
解决办法:
修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。
把 start-timeout=”45″ 改为 start-timeout=”200″ 或者更长 重启eclipse就可以解决该问题(我是调到200秒就解决这个问题)。