After the Spring framework is built, a small red × error appears in the header of the accessory file.

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:
configuration information
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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324916589&siteId=291194637