Reputation: 163
I am creating an application using spring 3.2 mvc framework. I am using Spring Tool Suite and maven. When i updated jar 3.1 to 3.2 i am getting the following errors in servelet-context.xml and root-context.xml:-
cvc-elt.1: Cannot find the declaration of element 'beans:beans'.
cvc-elt.1: Cannot find the declaration of element 'beans'.
Upvotes: 0
Views: 127
Reputation: 71
You need to check the version of your spring schema also clean and install the maven project again after defining the schema.
Upvotes: 0
Reputation: 12453
Try to add the version as a suffix for your schema locations:
.../schema/mvc/spring-mvc-3.2.xsd
.../schema/beans/spring-beans-3.2.xsd
Upvotes: 1