cvc-elt.1: Cannot find the declaration of element 'beans'.
来源:互联网 发布:金融软件下载 编辑:程序博客网 时间:2024/05/17 23:53
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p"xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsdhttp://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsdhttp://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsdhttp://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd">
提示说:cvc-elt.1: Cannot find the declaration of element 'beans',
从网上搜了一些,有的说是因为网络原因访问不到xsd文件,因为访问不到网络上的xsd文件,我们可以访问本地的啊,在引入的spring的包中spring-beans-3.2.2.RELEASE.jar中有spring-beans-3.0.xsd文件,其他的xsd文件也都能在相应的包中找到,这样就好说了,把xsd文件的引用全部改为本地文件:
改为:
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p"xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.springframework.org/schema/beans classpath:/org/schema/beans/spring-beans-4.0.xsdhttp://www.springframework.org/schema/context classpath:/org/schema/context/spring-context-4.0.xsdhttp://www.springframework.org/schema/aop classpath:/org/schema/aop/spring-aop-4.0.xsd http://www.springframework.org/schema/tx classpath:/org/schema/tx/spring-tx-4.0.xsdhttp://www.springframework.org/schema/util classpath:/org/schema/util/spring-util-4.0.xsd">
0 0
- cvc-elt.1: Cannot find the declaration of element 'beans'.
- cvc-elt.1: Cannot find the declaration of element 'beans'.
- cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring cvc-elt.1: Cannot find the declaration of element 'beans'.
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
- Spring 配置文件报错: cvc-elt.1: Cannot find the declaration of element ""beans""
- Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
- spring cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'
- spring cvc-elt.1: Cannot find the declaration of element 'beans'解决办法
- Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
- maven项目报错:cvc-elt.1: Cannot find the declaration of element 'beans'.
- spring cvc-elt.1: Cannot find the declaration of element 'beans'解决办法
- spring项目启动报错 cvc-elt.1: Cannot find the declaration of element 'beans'.
- spring cvc-elt.1: Cannot find the declaration of element 'beans'解决办法
- 代码题
- A1002 A+B for Polynomials
- swift与OC相互引用的问题
- 数据结构实验之排序三:bucket sort
- 错误找不到或无法加载主类 -versio
- cvc-elt.1: Cannot find the declaration of element 'beans'.
- (Lamp环境)安装drupal模块时,报错:Warning: fread(): SSL: Connection reset by peer....
- 【电信计费系统项目实战】介绍篇
- 塔防一章 说明+框架构建
- 【Linux系统编程】线程池
- hdu 5178 pairs(二分求解)
- Android Framework 目录
- NSUserDefaults 简介,使用 NSUserDefaults 存储自定义对象
- RecyclerView