One of the problems with your files is that you are using Spring 3.0 jars, but using the 3.1 xml schema for mvc and context .
So:
- upgrade your banks to Spring 3.1 or
- use 3.0 xml schemes
but do not try to use the 3.1 xml scheme with 3.0 jars, this will not work.
By the way, you have to decide whether you are referencing a schema with an explicit version, as you did for mvc and contect , or using the last of the jars, as you did for beans
An example of using (explicit) schema 3.0
<?xml version="1.0" encoding="UTF-8"?> <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:mvc="http://www.springframework.org/schema/mvc" 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/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
source share