“cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'”错误的解决办法

来源:互联网 发布:开淘宝店考试答案 名字 编辑:程序博客网 时间:2024/06/04 18:19



今天写spring配置文件的时候出现cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib的错误,查资料后发现的命令空间引入的问题

解决方法很简单


把http://www.springmodules.org/schema/cache/springmodules-cache.xsd复制到头文件中的xmlns:xsi里就行了

如下

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance http://www.springmodules.org/schema/cache/springmodules-cache.xsd "

阅读全文
0 0
原创粉丝点击