2 asdw747 asdw747 于 2016.03.04 13:39 提问

eclipse中无法启动tomcat 但是在外面可以正常启动tomcat!

本来eclipse用着好好的,不知道抽什么风,今天突然tomcat启动不了了。报错如下
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Web-learn]]
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1122)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
我重新下载了tomcat又配置了下也不管用,求教,有遇到过的吗?应该怎么弄

2个回答

Mr_dsw
Mr_dsw   Ds   Rxr 2016.03.04 14:24
已采纳

解决了就好,web.xml

asdw747
asdw747   2016.03.04 13:56

好吧,找到错误了,原来是web.xml写错了。可是还是有点不懂,明明A工程的web.xml写错了,为什么其他web工程也运行不了呢?

Csdn user default icon
上传中...
上传图片
插入图片