Spring 配置文件报错 springmvc.xml
来源:互联网 发布:c语言define怎么用 编辑:程序博客网 时间:2024/06/07 17:45
cvc-complex-type.2.3: Element ‘beans’ cannot have character [children], because the type’s conte
Element type "Resource" must be followed by either attribute specifications, ">" or "/>".
只要是由于配置文件错误造成的,应该一句一句排查
我遇到的情况是,
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
和注释出错
0 1
- Spring 配置文件报错 springmvc.xml
- springmvc配置文件:spring-mybatis.xml
- Spring配置文件和SpringMVC配置文件 web.xml配置文件 保存自用
- Spring Data JPA applicationContext.xml 配置文件报错的解决办法
- Spring MVC 配置文件报错:Error occured processing XML
- maven springmvc配置文件报错
- spring 配置文件报错
- spring配置文件报错
- spring+springmvc+mybatis中的xml配置文件详解
- spring+springMVC+Hibernate全注解XML配置文件
- springmvc---springmvc.xml配置文件
- SSM(spring-springmvc-mybatis)整合开发xml配置文件内容springmvc-config.xml,application.xml,web.xml
- Java Spring 配置文件报错
- Spring配置文件报错问题
- spring配置文件xsd报错
- spring MVC学习笔记(二) springMVC.xml配置文件解析
- ssm spring+springmvc+mybatis中的xml配置文件详解
- 【Spring实战】----springMVC配置文件*-servlet.xml的解析
- C#如何分割有IP+端口的字符串?
- 我的android足迹
- 摘录:Linux下安装Nginx详细图解教程 .
- iOS界面编程-UIWebView
- Meanshift understanding
- Spring 配置文件报错 springmvc.xml
- 当虚函数遇到多继承
- Stereo Matching文献笔记之(七):《Spatial-Depth Super Resolution for Range Images》读后感~
- CSS 的4中定位方式
- 【Android-001】【快速入门】
- C++的动态内存分配
- BUILD问题“Class not found : Lorg/apache/commons/logging/Log”
- TLD(Tracking-Learning-Detection)学习与源码理解之(学习器)
- bzoj-2300 防线修建