我是靠谱客的博主 清脆花瓣,这篇文章主要介绍cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'.,现在分享给大家,希望可以做个参考。

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.


web.xml总是报cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'. 错误,还出现小红叉,在网上找了很多,有说是把报红叉的代码写在<jsp-config></jsp-config>之间,试了之后发现完全没用。 后来在外文网站上找到了一个方法就把问题解决了。所以记录下来,以后再次遇到了就方便解决了。

 解决办法为:将“http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd” 这段话加入到xml文件"xmlns:xsi="的标签中,问题就解决了。

最后

以上就是清脆花瓣最近收集整理的关于cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'.的全部内容,更多相关cvc-complex-type.2.4.a:内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(56)

评论列表共有 0 条评论

立即
投稿
返回
顶部