原文:SpringMVC org.xml.sax.SAXParseException: cvc-complex-type.2.4.c 報錯處理方式

使用SpringMVC的過程中需要訪問靜態文件,即在spring servlet.xml文件中添加了 標簽,以開啟SpringMVC對靜態文件的攔截處理方法 重啟Tomcat,出現如下報錯 解決方法: 在 spring servlet.xml 文件的beans 標簽的xsi:schemaLocation中加入http: www.springframework.org schema mvc http ...

2017-01-06 22:58 0 6189 推薦指數:

查看詳情

spring-mvc.xml報錯cvc-complex-type.2.4.c

添加 時報錯cvc-complex-type.2.4.c:The matching wildcard is strict,but no declaration can be found for element 'util:properties'在上面添加xmlns:util ...

Wed Jan 13 05:44:00 CST 2016 0 2420
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM