<?xml version="1.0" encoding="UTF-8"?>


Multiple annotations found at this line:
    - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 
     'cache:annotation-driven'.
    - schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/cache/
     spring-cache.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element 
     of the document is not <xsd:schema>.

这种错误是属于配置文件的验证错误,实际上并不影响项目的正常运行.

按步骤操作:
Window--> Preferences--> General--> Validation

 Maven项目Spring配置XML报错

 问题解决,如果其他文件验证出现错误也可以关掉其他相应的验证;

相关文章:

  • 2021-08-22
  • 2021-05-22
  • 2021-11-13
  • 2022-12-23
  • 2022-01-23
  • 2021-07-18
猜你喜欢
  • 2021-10-02
  • 2021-08-05
  • 2021-07-12
  • 2022-02-04
  • 2021-05-05
  • 2021-10-19
相关资源
相似解决方案