启动Tomcat时,老是出现下面的错误:
代码是这些:
四月 22, 2014 1:06:23 下午 org.apache.catalina.startup.HostConfig deployDirector
y
信息: Deploying web application directory docs
四月 22, 2014 1:06:23 下午 org.apache.catalina.startup.HostConfig deployDirector
y
信息: Deploying web application directory examples
四月 22, 2014 1:06:24 下午 org.apache.catalina.startup.HostConfig deployDirector
y
信息: Deploying web application directory day5_1
四月 22, 2014 1:06:24 下午 org.apache.tomcat.util.digester.Digester endElement
严重: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
四月 22, 2014 1:06:24 下午 org.apache.catalina.startup.ContextConfig application
WebConfig
严重: Parse error in application web.xml file at jndi:/localhost/day5_1/WEB-INF/
web.xml
org.xml.sax.SAXParseException; systemId: jndi:/localhost/day5_1/WEB-INF/web.xml;
lineNumber: 15; columnNumber: 20; Error at (15, 20) : Servlet mapping specifies
四月 22, 2014 1:06:24 下午 org.apache.catalina.startup.ContextConfig application
WebConfig
严重: Occurred at line 15 column 20
四月 22, 2014 1:06:24 下午 org.apache.catalina.startup.ContextConfig start
严重: Marking this application unavailable due to previous error(s)
四月 22, 2014 1:06:24 下午 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
四月 22, 2014 1:06:24 下午 org.apache.catalina.core.StandardContext start
严重: Context [/day5_1] startup failed due to previous errors
四月 22, 2014 1:06:24 下午 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
四月 22, 2014 1:06:24 下午 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
四月 22, 2014 1:06:24 下午 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/14 config=null
四月 22, 2014 1:06:24 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 653 ms
------解决思路----------------------
web.xml 出了问题,建议贴上来
------解决思路----------------------
web.xml出问题啦
------解决思路----------------------
已经启动了 web.xml有配置错误
------解决思路----------------------
org.xml.sax.SAXParseException; systemId: jndi:/localhost/day5_1/WEB-INF/web.xml;
lineNumber: 15; columnNumber: 20; Error at (15, 20) : Servlet mapping specifies
说你的Servlet mapping有问题,贴出来看看!
------解决思路----------------------
把 WEB.xml 贴上来看看