web.xml 出现cvc-complex-type.2.4.a: Invalid content was found starting with element

<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
    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/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

</web-app>

将红色标记加入XML即可。

 

相关文章:

  • 2021-10-16
  • 2021-12-30
  • 2022-12-23
  • 2021-06-15
  • 2021-11-07
  • 2022-12-23
  • 2021-06-10
猜你喜欢
  • 2021-08-08
  • 2021-09-28
  • 2022-02-14
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案