eclipse启动tomcat成功,tomcat却一直处在starting状态

来源:互联网 发布:淘宝几百块发省级期刊 编辑:程序博客网 时间:2024/05/22 13:59

问题描述:eclipse启动tomcat成功,tomcat却一直处在starting状态(如下图)。
一直处于100%starting
999秒后报出异常如下:

Server Tomcat v8.0 Server at localhost was unable to start within 999 seconds. If the server requires more time, try increasing the timeout in the server editor.

解决方案
我尝试了以下3种方案,我是在尝试第3种方式后才解决的。
1. eclipse代理问题:
eclipse 进入
window – >> preferences –>> General –>> Network connection –>> active provider : 选择Native
取消代理,即可解决。
2. window的防火墙导致
关闭防火墙
3. eclipse Server配置的HostName写错了(部分电脑写localhost,无法识别,需要改成127.0.0.1,如图所示)
改Host name

0 0