分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 教程案例

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

发布时间:2023-09-06 01:09责任编辑:彭小芳关键词:xmlelement

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

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved