tomcat起动问题

来源:百度知道 编辑:UC知道 时间:2024/06/01 11:40:42
tomcat6.bat启动的时候信息出现了好多错误
2009-5-16 18:44:58 org.apache.tomcat.util.digester.Digester fatalError
严重: Parse Fatal Error at line 11 column 3: The element type "servlet" must be
terminated by the matching end-tag "</servlet>".
org.xml.sax.SAXParseException: The element type "servlet" must be terminated by
the matching end-tag "</servlet>".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro
r(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
Unknown Source)
at 请问这表示哪里出错了

xml解析错误

可能是配置文件写的不对,检查tomcat的配置文件,或者项目的web.xml配置文件.

看看 servlet的标签是否前后匹配呢.

"</servlet>". 漏掉了!