web.xml 错误
cvc-complex-type.2.3: Element ‘web-app’ cannot have character [children], because the type’s content
<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
version="2.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
修改为:
<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
version="2.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">