当前位置: 代码迷 >> 综合 >> 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'错误的解决方法

热度:32   发布时间:2023-11-24 04:30:44.0

eclipse报错如下:

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 /MyBatisPro05/WebContent/WEB-INF line 17 XML Problem

解决方法:

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

这段话加入到xml文件的"xmlns:xsi="的标签中即可

  相关解决方案