今天项目已debug模式启动的时候,总是报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.
此时如需要修改tomcat的启动时间,可以去下面的目录进行修改:
workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml将其中的start-timeout的值变更为你认为的可以安全启动的值。记得要重启Eclipse使其生效。