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

问题描述

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又配置了下也不管用,求教,有遇到过的吗?应该怎么弄

解决方案

解决了就好,web.xml

解决方案二:

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

时间: 2024-08-02 22:40:37

eclipse中无法启动tomcat 但是在外面可以正常启动tomcat!的相关文章

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,这些问题等--

eclipse中,使用tomcat插件启动tomcat报错

问题描述 eclipse中,使用tomcat插件启动tomcat报错 具体错误: SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [/manager] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalin

eclipse中工程启动tomcat,浏览器无法访问

问题描述 eclipse中工程启动tomcat,浏览器无法访问 [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] taotao-manager [INFO] taotao-manager-pojo [INFO] taotao-manager-

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.AprLifecyc

eclipse中tomcat使用tomcat插件启动报错

问题描述 eclipse中tomcat使用tomcat插件启动报错 SEVERE: The web application with context path [/manager] was not deployed because it contained a deployment descriptor [D:Tomcat 7.0webappsmanagerMETA-INFcontext.xml] which may include configuration necessary for the

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

spring mvc 在eclipse中启动tomcat提示错误,什么原因

问题描述 spring mvc 在eclipse中启动tomcat提示错误,什么原因 严重: StandardWrapper.Throwablejava.lang.NoClassDefFoundError: javax/servlet/AsyncListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at

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

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