Project with SSM, the following error occurred during deployment
Server Tomcat v8.0 Server at localhost is unable to start within seconds. If the server requires more time, try increasing the timeout in the server editor.
The startup time is set too short to start properly.
I am using the MyEclipse2015, directly through the page to modify
You can also fix it by modifying the configuration file:
First locate the Workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml file.
<server auto-publish-setting= "2" auto-publish-time= "1" deploydir= "Wtpwebapps" has-configuration= "false" hostname = "localhost" id= "Tomcat v8.0 Server at localhost" java-location= "D:\soft\myeclipse2015\binary\ Com.sun.java.jdk7.win32.x86_64_1.7.0.u45 "Name=" Tomcat v8.0 Server at localhost "runtime-id=" Apache Tomcat v8.0 " server-location= "D:\soft\apache-tomcat-8.0.36-windows-x64\apache-tomcat-8.0.36" server-type= " org.eclipse.jst.server.tomcat.80 "server-type-id=" org.eclipse.jst.server.tomcat.80 "start-timeout=" 120 " Stop-timeout= "testenvironment=" false "timestamp=" "useautodeploy=" true ">
<list key= "Modules" value0= "book::org.eclipse.jst.jee.server:book::jst.web::3.0%%exploded"/>
</server>
Change the start-timeout= "45" to start-timeout= "120" or longer and set it according to the project size.
And finally restart the compiler.
Server Tomcat v8.0 server at localhost is unable to start within seconds