Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www
来源:互联网 发布:淘宝如何排名靠前 编辑:程序博客网 时间:2024/06/04 23:24
原文连接: http://www.javacreed.com/unable-to-locate-spring-namespacehandler-for-xml-schema-namespace-httpwww-springframework-orgschemamvc/
Error
The web application fails to start due to the following error
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/mvc]
Solution
You need to have the JAR file: spring-webmvc-3.1.0.RELEASE.jar (or a newer version if available – check from here) in your web application classpath. If you are using Maven, simply add the following to your dependencies.
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>3.1.0.RELEASE</version></dependency>
Make sure you also have the following dependencies in your classpath, as otherwise the web application may not start due to missing classes:
- Spring Web JAR file: spring-web-3.1.0.RELEASE.jar
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>3.1.0.RELEASE</version></dependency>
- Hibernate Validator JAR file: hibernate-validator-4.3.0.Final.jar
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator-annotation-processor</artifactId> <version>4.3.0.Final</version></dependency>
0 0
- Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www
- Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www
- Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www
- spring报错Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop]
- Unable to locate Spring NamespaceHandler for XML schema namespace 【http://www.springframework.org/schema/context】
- Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace
- 【spring-security】Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.sprin
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/s
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/sc
- svn 回退/更新/取消至某个版本命令详解
- MySql数据库主从配置
- Spring官网下载各版本jar包
- Android常用多渠道打包方式实践
- mysql 触发器trigger
- Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www
- Ext.encode 与 Ext.decode
- iOS学习笔记 APP启动相关
- javascript基础复习之函数,定时器,erval函数
- java 实战经验java.lang.NoSuchMethodError错误
- Debug命令及用法
- JAVA使用JDBC连接MySQL数据库
- socket编程 - Asyncsocket
- maven部署jar 到远程仓库