Hello community. I'm a newbie Spring user developing my first Spring MVC application.
The following code, located at servlet-context.xml:
Gives me this error:
The matching wildcard is strict, but no declaration can be found for element 'props'
The same error occurred with <bean> element, but it was fixed including 'beans' prefix <beans:bean ..>
My two questions are: How can I fix the 'props' element error? and How can I avoid using 'beans' prefix in every <bean> xml declaration?
Just to mention that I already has the 'bean' xmlns and schema-location declarations, like this:
And if I write the schema location like this, instead of previous delcaration:
In booth cases if I don't put the 'beans' prefix, like this
I have the same error:
The matching wildcard is strict, but no declaration can be found for element 'bean'.
Cannot locate BeanDefinitionParser for element [bean]
Very thankful for your help