当前位置: 代码迷 >> Eclipse >> 请问Eclipse和Tomcat有关问题
  详细解决方案

请问Eclipse和Tomcat有关问题

热度:191   发布时间:2016-04-23 18:52:49.0
请教Eclipse和Tomcat问题
把Tomcat嵌入到Eclipse中,当启动Tomcat时出现以下错误?请教?
2007-1-22   9:15:16   org.apache.commons.digester.Digester   fatalError
严重:   Parse   Fatal   Error   at   line   1   column   8:   The   processing   instruction   target   matching   "[xX][mM][lL] "   is   not   allowed.
org.xml.sax.SAXParseException:   The   processing   instruction   target   matching   "[xX][mM][lL] "   is   not   allowed.
at   org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown   Source)
at   org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown   Source)
at   org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown   Source)
at   org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown   Source)
at   org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown   Source)
at   org.apache.xerces.impl.XMLScanner.scanPIData(Unknown   Source)
at   org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown   Source)
at   org.apache.xerces.impl.XMLScanner.scanPI(Unknown   Source)
at   org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown   Source)
at   org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown   Source)
at   org.apache.xerces.parsers.XML11Configuration.parse(Unknown   Source)
at   org.apache.xerces.parsers.XML11Configuration.parse(Unknown   Source)
at   org.apache.xerces.parsers.XMLParser.parse(Unknown   Source)
at   org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown   Source)
at   org.apache.commons.digester.Digester.parse(Digester.java:1548)
at   org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:263)
at   org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)
at   org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
at   org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
at   org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at   org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at   org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at   org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at   org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at   org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:687)
at   org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at   org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
at   org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at   org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at   org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at   org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at   org.apache.catalina.core.StandardService.start(StandardService.java:480)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
  相关解决方案