Java xml中的Spring mvc配置错误
我正在使用Spring3.2MVC框架创建一个应用程序。我正在使用Spring工具套件 还有马文。当我将JAR3.1更新为3.2时,servelet-context.xml和root-context.xml中出现以下错误:-Java xml中的Spring mvc配置错误,java,xml,spring,maven,spring-mvc,Java,Xml,Spring,Maven,Spring Mvc,我正在使用Spring3.2MVC框架创建一个应用程序。我正在使用Spring工具套件 还有马文。当我将JAR3.1更新为3.2时,servelet-context.xml和root-context.xml中出现以下错误:- cvc-elt.1: Cannot find the declaration of element 'beans:beans'. cvc-elt.1: Cannot find the declaration of element 'beans'. 尝试添加版本作为架构位置
cvc-elt.1: Cannot find the declaration of element 'beans:beans'.
cvc-elt.1: Cannot find the declaration of element 'beans'.
尝试添加版本作为架构位置的后缀:
.../schema/mvc/spring-mvc-3.2.xsd
.../schema/beans/spring-beans-3.2.xsd
您需要检查spring模式的版本,并在定义模式后清理并再次安装maven项目。change
这对我来说很有效…/schema/mvc/spring-mvc-3.2.xsd…/schema/beans/spring-beans-3.0.xsdNo它们都应该具有相同的版本。在你的例子中是3.2。我只是写了这两个例子,当然其他的都需要更新。3.2和3.0之间的区别是什么