当前位置: 代码迷 >> Eclipse >> 请那位给小弟我解决配置数据池的连接出出现的有关问题好吗
  详细解决方案

请那位给小弟我解决配置数据池的连接出出现的有关问题好吗

热度:61   发布时间:2016-04-23 14:39:53.0
请那位大虾给我解决配置数据池的连接出出现的问题好吗?
org.xml.sax.SAXParseException:   这个出错是什么问题?

严重:   Parse   Fatal   Error   at   line   2   column   4:   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   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.XMLDocumentScannerImpl$TrailingMiscDispatcher.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:1567)
at   org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
at   org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
at   org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
at   org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
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(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:287)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)


------解决方案--------------------
org.xml.sax.SAXParseException --> xml文件解析出异常可能是你的配置文件写错了
请尽量把问题说的更清析些 比如用什么服务器,配什么数据源等,说得越清析,问题得到解决的机会就越大
------解决方案--------------------
有可能是你项目的web.xml文件是空吧!
  相关解决方案