zoukankan      html  css  js  c++  java
  • Maven项目Spring配置XML报错

    <?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

     

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

  • 相关阅读:
    C++中的静态数据成员的作用与好处
    C++中的虚函数表
    CF292-D
    CF292-C
    CF292-B
    CF292-A
    CF291-B
    CF291-C
    CF287-B
    CF287-C
  • 原文地址:https://www.cnblogs.com/jiftle/p/13043880.html
Copyright © 2011-2022 走看看