当前位置: 代码迷 >> Java Web开发 >> 启动tomcat后台报错,异常如下,哪位高手知道是咋回事
  详细解决方案

启动tomcat后台报错,异常如下,哪位高手知道是咋回事

热度:6320   发布时间:2013-02-25 21:20:21.0
启动tomcat后台报错,错误如下,谁知道是怎么回事?
>> The temps-clean config is false!
>> Parse Fatal Error at line 5414 column 15: Invalid byte 3 of 3-byte UTF-8 sequence.
org.xml.sax.SAXParseException: Invalid byte 3 of 3-byte UTF-8 sequence.
at com.documentum.xerces_2_8_0.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.parsers.XML11Configuration.parse(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.parsers.XML11Configuration.parse(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.parsers.XMLParser.parse(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at com.documentum.xerces_2_8_0.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1543)
at com.neusoft.unieap.action.EAPActionServlet.initModuleConfig(EAPActionServlet.java:251)
at com.neusoft.unieap.action.EAPActionServlet.initApplicationConfig(EAPActionServlet.java:171)
at com.neusoft.unieap.action.EAPActionServlet.init(EAPActionServlet.java:109)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardSer

------解决方案--------------------------------------------------------
删除work下的文件 重新启动下试试
------解决方案--------------------------------------------------------
LZ用记事本编辑过配置文件吧
------解决方案--------------------------------------------------------
把缓存清除一下 重新启动服务器看看 。。
------解决方案--------------------------------------------------------
好像是哪个xml文件的编码 写得有问题哦

org.xml.sax.SAXParseException: Invalid byte 3 of 3-byte UTF-8 sequence.

xml如果用文本编写的 ,建议在IE中打开看看,就知道是否正确 ;
------解决方案--------------------------------------------------------
用EditPlus打开配置文件,然后另存为。
另存为的时候,Encoding选择utf-8。
  相关解决方案