tomcat启动失败,不管是eclipse中还是MyEclipse中都是启动失败

问题描述

tomcat启动失败,不管是eclipse中还是MyEclipse中都是启动失败
2015-9-10 22:32:05 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.
2015-9-10 22:32:05 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true] sendfile [true] accept filters [false] random [true].
2015-9-10 22:32:05 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:helloDemo' did not find a matching property.
2015-9-10 22:32:05 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:denglu system' did not find a matching property.
2015-9-10 22:32:06 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)
2015-9-10 22:32:06 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler [""http-apr-8080""]
2015-9-10 22:32:06 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler [""ajp-apr-8009""]
2015-9-10 22:32:06 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 707 ms
2015-9-10 22:32:06 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2015-9-10 22:32:06 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.52
2015-9-10 22:32:06 org.apache.tomcat.websocket.server.WsSci onStartup
信息: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message run Tomcat on Java 7 remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.
2015-9-10 22:32:06 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/denglu_system]]
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:799)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/denglu_system]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 7 more
Caused by: java.lang.NoClassDefFoundError: HttpServletRequest
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
at java.lang.Class.getDeclaredMethods(Class.java:1793)
at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)
at org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:279)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:141)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:400)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:876)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:371)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5355)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
Caused by: java.lang.ClassNotFoundException: HttpServletRequest
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
... 21 more
2015-9-10 22:32:07 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:731)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:799)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
2015-9-10 22:32:07 org.apache.catalina.startup.Catalina start
严重: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:731)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
2015-9-10 22:32:07 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler [""http-apr-8080""]
2015-9-10 22:32:07 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler [""ajp-apr-8009""]
2015-9-10 22:32:07 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
2015-9-10 22:32:07 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler [""http-apr-8080""]
2015-9-10 22:32:07 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler [""ajp-apr-8009""]

PS:环境变量没有问题!

解决方案

http://blog.csdn.net/machinecat0898/article/details/20007141

解决方案二:
可以重新建一个的嘛,,,

解决方案三:
检查一下web.xml文件的配置

解决方案四:
myeclipse启动tomcat失败的解决办法
Tomcat 启动失败,求助!!
eclipse Tomcat启动失败

时间: 2024-09-26 11:13:43

tomcat启动失败,不管是eclipse中还是MyEclipse中都是启动失败的相关文章

web.xml-在线等,在eclipse中引入其他项目,启动tomcat报错

问题描述 在线等,在eclipse中引入其他项目,启动tomcat报错 SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardCon

eclipse中安装android的插件ADT失败?

问题描述 请高手请教 解决方案 解决方案二:你怎么安的?这个要用升级管理器的:这里有详细的安装方法http://developer.android.com/sdk/eclipse-adt.html#downloading解决方案三:对呀,有一个安装管理器直接装上就好啦

eclipse中启动tomcat不产生日志文件

问题描述 eclipse中启动tomcat不产生日志文件 eclipse中启动tomcat不产生日志文件,但是在tomcat文件夹中启动startup.bat就会有,是什么问题 解决方案 Console打开了没?

Tomcat 8源码编译及导入Eclipse中研究

最近因为需求需要修改Tomcat中的某些功能,无奈只能研究那部分源码然后稍作修改. 目前Tomcat最新版是8.0,下载了源码包,编译并导入Eclipse中研究比较方便. 1. Tomcat8源码编译步骤1.1 先到Apache Tomcat 8.0官网下载最新版Source Code Distributions,解压到某个目录下,如D:\apache-tomcat-8.0.5-src 1.2 使用ant编译 (1)安装ant 如果机器上已经安装了ant可以省略这一步,否则去ant官网下载最新版

启动-Eclipse中配置jboss的问题

问题描述 Eclipse中配置jboss的问题 我在eclipse中配置了jboss.启动失败.但是如果在jboss文件夹里点run启动可以成功.这是为什么.eclipse是最新版本,jdk是1.8,jboss是旧版本4.2.求指教.

在eclipse中开发struts2应用

转自李刚的<struts2权威指南>   下面开始在Eclipse中整合Tomcat服务器,实际上,如果我们安装了MyEclipse插件,我们可以在Eclipse中整合大部分的Java EE服务器(包括Web服务器).但如果我们不安装任何插件,Eclipse则很难与任何Java EE服务器整合.   提示:Eclipse必须安装了相应插件后才具有丰富的功能.为了开发Java EE应用,通常都推荐安装MyEclipse插件,该插件是一个商业产品,必须支付相应费用才可使用. 为了在Eclipse中

eclipse中Tomcat启动失败 有哪些原因?

问题描述 我的eclipse使用一直有点问题,每次启动不是真正启动,用是可以用,但那个timeout时间走完了就停止了.如果把时间设置很长,就是右下方那个启动进度条一直存在:如果时间没走完手动停下服务,也会跳出来这样警告:我电脑网络用的是代理服务器,不知道是不是和这个有关系(但我更新eclipse是可以更新的啊).tomcat配置,java配置,eclipse配置我都和别的电脑上一样的,我也反复过几次了,甚至系统也重装过了.也听了别人建议把服务器配置选择serverlocation选了tomca

Tomcat在Eclipse中启动超时的问题解决

具体现象就是eclipse在启动tomcat时, 会报错: "Timeout waiting for Tomcat v6.0 Server @ localhost to start. Server did not start after 45s" 的错误. 尤其是在debug时更加容易出现这 个问题. 通过错误提示来看, 是因为tomcat启动时间超过了45m, 于是被终止了启动.出现这个问题, 可能是应用程序比较庞大, 有很多启动加载项和初始化工作, 或者log太多.想着加大tomc

eclipse中启动tomcat的项目路径

在eclipse中启动的tomcat,启动后的项目路径: D:\workspace        这里是你的工作目录         \.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps 这里是你的tomcate的项目目录 D:\workspace        这里是你的工作目录         \.metadata\.plugins\ 在这里面,可以修改一系列东西,包括你的项目启动时间,默认45S,这些问题等--