Resolve Eclipse Spring Configuration error: Cvc-elt.1:cannot find the declaration of element ' beans '.
Referenced file contains errors (http://www.springframework.org/schema/aop/spring-aop-3.1.xsd).
The reason is that the corresponding schema file cannot be read from the network, but is actually accessible in the browser.
has always shown a red fork in Eclipse, which, of course, does not affect compilation packaging.
See if the corresponding schema file exists in the jar package file that you depend on.
If Maven relies on a jar package already exists for the corresponding schema file, change the local classpath dependent path directly.
When configured as a local classpath dependency path, the Red Cross error hints in eclipse disappear.
Reference: http://blog.csdn.net/legendj/article/details/9950963
Troubleshoot Eclipse Spring Configuration error: Cvc-elt.1:cannot find the declaration of element