日期:2014-05-18  浏览次数:20783 次

servlet配置问题
自己写了个servlet,结果一启动tomcat就出现一堆错误:

信息:   Starting   Servlet   Engine:   Apache   Tomcat/5.5.20
2007-3-13   0:03:27   org.apache.catalina.core.StandardHost   start
信息:   XML   validation   disabled
2007-3-13   0:03:28   org.apache.tomcat.util.digester.Digester   fatalError
严重:   Parse   Fatal   Error   at   line   5   column   3:   The   markup   in   the   document   following   the   root   element   must   be   well-formed.
org.xml.sax.SAXParseException:   The   markup   in   the   document   following   the   root   element   must   be   well-formed.
at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown   Source)
at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown   Source)
at   com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown   Source)
at   com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown   Source)
at   com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown   Source)
at   com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown   Source)
at   com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown   Source)
at   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown   Source)
at   com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown   Source)
at   com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown   Source)
at   com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown   Source)
at   org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at   org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:351)
at   org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1041)
at   org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:260)
at   org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4143)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at   org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at   org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at   org.apache.catalina.core.StandardService.start(StandardService.java:450)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(Unknown   Source)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown   Source)
at   java.lang.reflect.Method.invoke(Unknown   Source)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007-3-13   0:03:28   org.apache.