Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires

简介: Server Tomcat v8.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.

Server Tomcat v8.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.

问题描述:

OS:Windows 7 x64

Eclipse:

Eclipse Java EE IDE for Web Developers.
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600


Java Web项目启动调试时,提示此错误,如下图:


这种情况存在两种可能,一种是项目配置有错误(可能是数据库、Redis之类的配置错误,也可能是相关的服务没有启动,防火墙之类的);

另一种是项目启动的确实比较慢,需要更长的时间,解决方法如下:

打开Server视图,双击Tomcat v8.0 Server


将启动时间限制改大:


按Ctrl+S保存,然后再启动调试。


如果将时间改的很大了,还是不能启动成功,有以下两种情况:

1、项目配置有问题,上面说过了;

2、tomcat 的 webapps 目录下还有其它的项目,导致服务启动失败了,尝试删除其它项目,再启动调试看看。


=============================我是分隔线=====================================


目录
相关文章
|
17天前
|
设计模式 安全 Java
【分布式技术专题】「Tomcat技术专题」 探索Tomcat技术架构设计模式的奥秘(Server和Service组件原理分析)
【分布式技术专题】「Tomcat技术专题」 探索Tomcat技术架构设计模式的奥秘(Server和Service组件原理分析)
21 0
|
6月前
|
Web App开发 应用服务中间件
解决在访问tomcat时出现连接失败,Firefox 无法建立到 localhost:8080 服务器的连接的问题~
解决在访问tomcat时出现连接失败,Firefox 无法建立到 localhost:8080 服务器的连接的问题~
124 0
|
4月前
|
应用服务中间件
今日分享记录:WIN10中如何将tomcat注册到Server服务中
今日分享记录:WIN10中如何将tomcat注册到Server服务中
48 1
|
5月前
|
应用服务中间件
Tomcat报错:The required Server component failed to start so Tomcat is unable to start
Tomcat报错:The required Server component failed to start so Tomcat is unable to start
|
3月前
|
Oracle Java 关系型数据库
淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/8.5.
淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/8.5.
28 1
|
3月前
|
应用服务中间件
Web开发:关于Tomcat出现The origin server did not find a current representation for the target resourc...的问题
Web开发:关于Tomcat出现The origin server did not find a current representation for the target resourc...的问题
|
8月前
|
应用服务中间件 Android开发
Server Tomcat v9.0 Server at localhost failed to start问题的解决
Server Tomcat v9.0 Server at localhost failed to start问题的解决
248 0
|
4月前
|
Java 应用服务中间件
Tomcat 报错:The origin server did not find a current representation for the target resource
Tomcat 报错:The origin server did not find a current representation for the target resource
33 1
|
5月前
|
应用服务中间件
IDEA启动报错:Error running ‘Tomcat 8.5.34‘: Address localhost:1099 is already in use
IDEA启动报错:Error running ‘Tomcat 8.5.34‘: Address localhost:1099 is already in use
43 0
|
11月前
|
Java 应用服务中间件 Apache
听说你也在为配置tomcat server而烦恼,看我这一篇,让你醍醐灌顶!
听说你也在为配置tomcat server而烦恼,看我这一篇,让你醍醐灌顶!