Problem description:
When building a Spring-related framework, a small red X error will appear in the header of the applicationContext.xml configuration file and the servlet-mvc.xml accessory file:
Error description:
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)
Although it does not affect the operation of the normal program, but a small red x appears in the project, it does not look pleasing to the eye, so I will find a solution.
After Baidu found a suitable solution:
Remove the check mark before "Honour all XML schema locations" in Preferences > XML > XML Files > Validation. It will disable validation of the same namespace references pointing to different schema locations, and only result in the first verifiable XML file found.
Solution source: Baidu