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!

  • 相关阅读:
    画了朵花
    定位
    浮动
    盒模型
    html+css笔记1
    闭包
    高阶函数
    函数
    Map Set iterable
    git stash clear/drop 后代码如何恢复
  • 原文地址:https://www.cnblogs.com/chengxuy/p/6479772.html
Copyright © 2011-2022 走看看