spring aop配置出错

时间:2022-06-04 23:46:59
 1 Multiple annotations found at this line:
 2     - schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/tx/spring-tx.xsd', because 1) could not find the document; 
 3      2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
 4     - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:advice'.
 5 
 6 
 7 
 8 
 9 *************************************************************
10 Multiple annotations found at this line:
11     - schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/aop/spring-aop-3.1.xsd', because 1) could not find the 
12      document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
13     - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aop:config'.
14 
15 
16 cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:annotation-driven'.

要联网加载:xsd文件