Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/TestDem

原创 2015年11月17日 15:45:39

    出现这个错误,郁闷了好久,刚开始的时候去网上找了很多,也没有解决,还以为是因为我用的是最新版的tomcat出了问题了,结果后来在看xml的配置时候看到了servlet的url-pattern的配置少写了一个"/",添加后启动成功!

严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/TestDemo]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> 1 in servlet mapping
    at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3324)
    at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3299)
    at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1438)
    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
    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:5416)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 10 more
十一月 17, 2015 3:43:23 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: Error deploying web application directory D:\apache-tomcat-7.0.62\webapps\TestDemo
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/TestDemo]]
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
十一月 17, 2015 3:43:23 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\apache-tomcat-7.0.62\webapps\TestDemo has finished in 979 ms
十一月 17, 2015 3:43:23 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
十一月 17, 2015 3:43:23 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
十一月 17, 2015 3:43:23 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2376 ms


版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] ...

tomcat部署项目时出错(Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardC)

SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start co...

Run as启动项目时总报错Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardCont

[INFO] Scanning for projects... [INFO]                  ...

spring boot 1.4 打成jar包启动失败,报Failed to start component [StandardEngine[Tomcat].StandardHost[localhost

我用spring boot 1.4 整合jsp做了个简单的web界面。在eclipse中启动正常,但是打成jar包后运行报错, java.util.concurrent.ExecutionExcep...

tomcat7启动报错Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]

tomcat7启动报错Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]

Tomcat 8/7 无法启动 [StandardEngine[Catalina].StandardHost[localhost].StandardContext

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start com...

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalin

我创建spring的过程中遇到了这个如下问题: 2013-7-25 9:42:45 org.apache.catalina.core.AprLifecycleListener init 信息: T...

Tomcat error : Failed to start component [StandardEngine[Catalina].Standar 但是 maven install ok

A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.L...

Exception:Failed to start component [StandardEngine[Catalina... NoClassDefFoundError:org/apache/log4

启动Tomcat组件失败  描述:org.apache.catalina.LifecycleException:Failed to start component[StandardEngine[Ca...

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].Standar

Server Tomcat v8.0 Server at localhost (3) failed to start.A child container failed during start jav...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)