The errors below were detected when validating the file “spring-aop.xsd” via the file “applicationContext.xml”. In most cases these errors can be detected by validating “spring-aop.xsd” directly. However it is possible that errors will only occur when spring-aop.xsd is validated in the context of applicationContext.xml.
今天调试代码时老出现这个问题,网上说的是版本号删除,我这边的代码开始时就没有加版本号,所以试着把4.2版本的调低到了4.0版本,在AOP约束上加了版本号,编译一下发现没问题了,记录一下。