码迷,mamicode.com
首页 > Web开发 > 详细

web.xml 中async-supported爆红叉叉 cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'.

时间:2017-09-05 15:57:16      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:oca   article   csdn   complex   ati   简单   str   cat   module   

新建一个项目在web.xml中些东西是发现async-supported报红叉 

cvc-complex-type.2.4.a: Invalid content was found starting with element ‘async-supported‘.

找了好多终于发现了把表头修改一下就行了,这是一个简单的解决方法;

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
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">这里边是在原来表头基础上加了这些东西,

http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd

web.xml 中async-supported爆红叉叉 cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'.

标签:oca   article   csdn   complex   ati   简单   str   cat   module   

原文地址:http://www.cnblogs.com/meihao1016/p/7478547.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!