当前位置: 代码迷 >> Java Web开发 >> struts开发WEB有关问题
  详细解决方案

struts开发WEB有关问题

热度:60   发布时间:2016-04-17 16:01:46.0
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.StandardServer.start(StandardServer.java:2313)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  相关解决方案