Turn off XSD validation of spring files
Spring tries to validate xml confniguration files against xml schemas. Which is fine, bu开发者_Go百科t there might be cases when the validation fails (outdated schema, for example). Is there a way to turn off xsd validation?
See this Spring JIRA: https://jira.spring.io/browse/SPR-5014 - has both the team's comments on why they won't directly build it in as well as an example of how to implement yourself.
精彩评论