spring-mvc.xml报The matching wildcard is strict, but no declaration can be found for element 'mvc:def
在写spring-mvc配置文件时,报The matching wildcard is strict, but no declaration can be found for element ‘mvc:default-servlet-handler’.这个问题其实是命名空间引用错误了,使用idea写标签时,自动添加了命名空间:将cache改为mvc就可以了!...
复制链接