myeclipse或者eclipse中 tomcat 启动超时怎么办?
修改文件
找到Eclipse的工作空间\.metadata\.plugins\org.eclipse.wst.server.core目录,修改目录内文件server.xml
把属性start-timeout="45" 设高一点就行了,如果start-timeout="450"
1
2
3
4
5
6
7
8
9
10
|
<? xml version = "1.0" encoding = "UTF-8" standalone = "no" ?>
< servers >
< server auto-publish-setting = "2" auto-publish-time = "1"
id = "Tomcat v8.0 Server at localhost" name = "Tomcat v8.0 Server at localhost"
runtime-id = "Apache Tomcat v8.0" server-type = "org.eclipse.jst.server.tomcat.80"
server-type-id = "org.eclipse.jst.server.tomcat.80" start-timeout = "150" stop-timeout = "15" testEnvironment = "false" timestamp = "2" >
< list key = "modules" value0 = "com.fxp58.web.p::org.eclipse.jst.jee.server:com.fxp58.web.p::jst.web::2.5" />
</ server >
</ servers >
|
然后重启一下eclipse或者myeclipse客户端
以上这篇小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持服务器之家。
原文链接:http://www.cnblogs.com/NiceCui/p/7766580.html