Ответ 1
У вас есть это:
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
там также, как
xsi:schemaLocation="
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
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">
Примечание. Обычно в ссылках схемы не упоминается версия Spring, чтобы упростить обновление, поэтому вместо ссылок следует использовать ссылки, такие как http://www.springframework.org/schema/context/spring-context.xsd
имеющий -3.0
в названии.