zoukankan      html  css  js  c++  java
  • cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:resources'.

    新的错误出现  spring-mvc.xml文件

    <mvc:resources mapping="/static/**" location="/static/" />
    <mvc:resources mapping="/upload/**" location="/upload/" />

    cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:resources'.

    有可能是更新了settings文件以后没有update,之后的jar包下载有问题

    window>>preference>>Maven>>User settings>>然后依次进行点击

     执行完该步骤后,右击项目,然后maven,最后update project,更新maven;

    最后清理项目,project>>clean>>选中项目>>finish。OK!

  • 相关阅读:
    带你走进Ajax
    基础
    基础
    基础-文字
    C++ part6.5
    操作系统 part4
    操作系统 part3
    计算机网络 part3 HTTP&HTTPS
    计算机网络 part2
    计算机网络 part1 TCP
  • 原文地址:https://www.cnblogs.com/chengxuy/p/6479772.html
Copyright © 2011-2022 走看看