| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3051 人关注过本帖
标题:spring异常
只看楼主 加入收藏
penglin
Rank: 1
等 级:新手上路
帖 子:18
专家分:0
注 册:2007-10-17
收藏
 问题点数:0 回复次数:2 
spring异常
IOException parsing XML document from class pat
h resource [applicationContext-hibernate.xml]; nested exception is com.
pache.xerces.internal. Invalid byte 3 of
3-byte UTF-8 sequence.
org.springframework.beans.factory.BeanDefinitionStoreException: IOException pars
ing XML document from class path resource [applicationContext-hibernate.xml]; ne
sted exception is com.
ceException: Invalid byte 3 of 3-byte UTF-8 sequence.
Caused by: com.
tion: Invalid byte 3 of 3-byte UTF-8 sequence.
        at com.(UTF
8Reader.java:674)
        at com.(UTF8Reader
.java:425)
        at com.(XMLEnti
tyScanner.java:1742)
        at com.(XML
EntityScanner.java:1242)
        at com.(XMLSca
nner.java:756)
        at com.
l.scanComment(XMLDocumentFragmentScannerImpl.java:1034)
        at com.
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
        at com.(X
MLDocumentScannerImpl.java:645)
        at com.
l.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
        at com.(X
ML11Configuration.java:807)
        at com.(X
ML11Configuration.java:737)
        at com.(XMLParser.
java:107)
        at com.(DOMParser.
java:225)
        at com.(Doc
umentBuilderImpl.java:283)
        at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
ent(DefaultDocumentLoader.java:76)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:351)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:303)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:280)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
        at org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:112)
        at org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:79)
        at org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
        at org.springframework.context.support.AbstractApplicationContext.obtain
FreshBeanFactory(AbstractApplicationContext.java:389)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:324)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:91)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:75)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:65)
        at cn.hnedu.system.AppContext.<init>(AppContext.java:25)
        at cn.hnedu.system.AppContext.getInstance(AppContext.java:32)
        at cn.hnedu.zx.web.BaseAction.getXsjbxxDao(BaseAction.java:86)
        at cn.hnedu.zx.web.action.student.StudentYzxxyzmAction.execute(StudentYz
xxyzmAction.java:48)
        at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at cn.hnedu.util.EncodingFilter.doFilter(EncodingFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at cn.hnedu.acl.FilesFilter.doFilter(FilesFilter.java:74)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at cn.hnedu.util.EncodingFilter.doFilter(EncodingFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:619)
搜索更多相关主题的帖子: spring exception resource org document 
2007-12-29 11:18
黄袖标
Rank: 4
等 级:贵宾
威 望:13
帖 子:676
专家分:0
注 册:2007-3-22
收藏
得分:0 
IOException parsing XML document from class path resource [applicationContext-hibernate.xml];
这个是说没找到配置文件,或者配置文件解析不正确

我胡汉三又回来啦!物是人非啊,只有静夜思大大还在。
2007-12-29 13:36
wscy1200
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2007-9-10
收藏
得分:0 
查查web.xml文件

2008-01-12 10:18
快速回复:spring异常
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018284 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved