CRM專案報錯筆記——web.xml中<async-supported>報錯
阿新 • • 發佈:2018-12-01
錯誤一:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'. One of
'{"http://java.sun.com/xml/ns/javaee":init-param}' is expected.
<async-supported>true</async-supported>
解決方案:
xmlns中再加兩行
http://www.springmodules.org/schema/cache/springmodules-cache.xsd
http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd
如:
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
---------------------
作者:再遠不過PC
來源:CSDN
原文:https://blog.csdn.net/douboomfly/article/details/70200740
版權宣告:本文為博主原創文章,轉載請附上博文連結!