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

struts开发WEB问题
启动tomcat时报错如下
信息:   Installing   web   application   at   context   path   /bookManagerSystem   from   URL   file:D:\tomcat\jakarta-tomcat-5.0.28\webapps\bookManagerSystem
2007-3-14   17:04:25   org.apache.commons.digester.Digester   fatalError
严重:   Parse   Fatal   Error   at   line   2   column   5:   The   string   "-- "   is   not   permitted   within   comments.
org.xml.sax.SAXParseException:   The   string   "-- "   is   not   permitted   within   comments.
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.scanComment(Unknown   Source)
at   org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanComment(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.TldConfig.tldScanStream(TldConfig.java:514)
at   org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:547)
at   org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4282)
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:701)
at   org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at   org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
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.StandardServe