<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
Element 'web-app' cannot have character [children], because the type's content type is element-only.
超过两个以上listener就报错
约束如上,在IDEA中的web.xml报错,但是运行不报错是怎么回事