首页 > Web开发 > 详细

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

时间:2017-09-05 15:27:55      阅读:356      评论:0      收藏:0      [点我收藏+]

新建一个项目在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'.

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!