转自:https://www.cnblogs.com/yjhrem/articles/2955207.html

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds...

当启动tomcat时候出现 Server Tomcat v6.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启动超时了,有时候你重新启动下就好了,但有时需要重新启动很多次,如果你不想这样的话,你只需修改下tomcat的启动 时间就行了,步骤如下:

修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。

<servers>

<server hostname="localhost" >

<map jndiPort="1099" key="generic_server_instance_properties" port="8090" serverAddress="127.0.0.1" serverConfig="default"/>

</server>

</servers>

把 start-timeout="45" 改为 start-timeout="1000" 或者更长 重启eclipse就可以了。

 

或者在界面修改

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds...
    




Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds...

当启动tomcat时候出现 Server Tomcat v6.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启动超时了,有时候你重新启动下就好了,但有时需要重新启动很多次,如果你不想这样的话,你只需修改下tomcat的启动 时间就行了,步骤如下:

修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。

<servers>

<server hostname="localhost" >

<map jndiPort="1099" key="generic_server_instance_properties" port="8090" serverAddress="127.0.0.1" serverConfig="default"/>

</server>

</servers>

把 start-timeout="45" 改为 start-timeout="1000" 或者更长 重启eclipse就可以了。

 

或者在界面修改

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds...
    




Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds...

相关文章:

  • 2021-08-12
  • 2021-04-05
  • 2021-11-26
  • 2021-05-29
  • 2021-11-15
  • 2021-09-23
  • 2021-05-04
猜你喜欢
  • 2021-07-30
  • 2021-07-20
  • 2022-12-23
  • 2021-06-16
  • 2021-12-28
相关资源
相似解决方案