标签:role one splay expec expected ipa run expect name
cvc-complex-type.2.4.a: Invalid content was found starting with element ‘display-name‘. One of ‘{"http://xmlns.jcp.org/xml/ns/javaee":servlet-class, "http://xmlns.jcp.org/xml/ns/javaee":jsp-file, "http://xmlns.jcp.org/xml/ns/javaee":init-param, "http://xmlns.jcp.org/xml/ns/javaee":load-on-startup, "http://xmlns.jcp.org/xml/ns/javaee":enabled, "http://xmlns.jcp.org/xml/ns/javaee":async-supported, "http://xmlns.jcp.org/xml/ns/javaee":run-as, "http://xmlns.jcp.org/xml/ns/javaee":security-role-ref, "http://xmlns.jcp.org/xml/ns/javaee":multipart-config}‘ is expected.
解决办法:
<display-name>需要放在<servlet-name>的前面
cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'
标签:role one splay expec expected ipa run expect name
原文地址:http://www.cnblogs.com/chry/p/6367047.html