ested exception is org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 106; cvc-elt.1: 找不到
来源:互联网 发布:人工智能不是威胁辩论 编辑:程序博客网 时间:2024/06/06 17:11
错误信息:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 23 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 106; cvc-elt.1: 找不到元素 'beans' 的声明。
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">-->
xmlns="http://www.springframework.org/schema/beans"
在xsi:schemaLocation中没有,对应的 xsd 解析文件
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">-->
xmlns="http://www.springframework.org/schema/beans"
在xsi:schemaLocation中没有,对应的 xsd 解析文件
阅读全文
0 0
- ested exception is org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 106; cvc-elt.1: 找不到元
- ested exception is org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 106; cvc-elt.1: 找不到
- nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 73; cvc-elt.1: 找不到元
- org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 105; cvc-elt.1: 找不到元素 'beans' 的声明。
- org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 63; cvc-elt.1: 找不到元素 'beans' 的声明。
- exception is org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 72; cvc-e
- nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
- Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in
- org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog
- Caused by: org.xml.sax.SAXParseException; lineNumber: 102; columnNumber: 25; cvc-complex-type.2.4.b:
- org.xml.sax.SAXParseException: cvc-elt.1:找不到元素“***”的声明。解决方法之一
- WAS下org.xml.sax.SAXParseException: cvc-elt.1:找不到元素“beans”的声明
- Caused by: org.xml.sax.SAXParseException; lineNumber: 28; columnNumber: 81;
- org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 29; schema_reference.4: 无法读取方案文档 'http:
- Caused by: org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 23; 元素类型为 "session-factory"
- org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 前言中不允许有内容
- Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 文件提前结束。
- Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 前言中不允许有内容。
- bzoj4917: Hash Killer IV
- 英语博客
- 多线程run和start的区别
- Java注解解析 整理
- asp.net使用服务器控件Image/ImageButton显示本地图片
- ested exception is org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 106; cvc-elt.1: 找不到
- Spring中事务的传播行为
- JSP指令(转载)
- Arcgis中设置.mxd相对路径
- EJB学习笔记-1-EJB基本概念
- EDA系列(一),EasyEDA介绍
- 数据结构 循环链表 C语言程序实现
- 消失的名称、历史的面貌
- 技术分享有感