org.xml.sax.SAXException这错误我第一次遇见,高手们是如何解决的?

sigrid 2010-11-18 09:31:16
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/conf/dataSource-applicationContext.xml]: Initialization of bean failed; nested exception is com.ibatis.sqlmap.client.SqlMapException: There was an error while building the SqlMap instance.
--- The error occurred in cn/sh/sstic/config/ibatis/oraclesqlmap/renew.xml.
--- The error occurred while loading the SQL Map resource.
--- Cause: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error. Cause: org.xml.sax.SAXException: Error: URI=null Line=15: Element type "resule" must be declared.
Caused by: org.xml.sax.SAXException: Error: URI=null Line=15: Element type "resule" must be declared.
Caused by: com.ibatis.sqlmap.client.SqlMapException: XML Parser Error. Cause: org.xml.sax.SAXException: Error: URI=null Line=15: Element type "resule" must be declared.
Caused by: org.xml.sax.SAXException: Error: URI=null Line=15: Element type "resule" must be declared.
...全文
3411 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sigrid 2010-11-22
  • 打赏
  • 举报
回复
renew.xml 里面的标签配置的有问题~!
仔细检查一下就好了~!
看时间长了 有点 眼花~!
shuangr 2010-11-19
  • 打赏
  • 举报
回复
怎么解决的?
sigrid 2010-11-18
  • 打赏
  • 举报
回复
问题已解决~!
yaoweijq 2010-11-18
  • 打赏
  • 举报
回复
仔细看下renew.xml
看看里面的xml tag正确不

67,515

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧