码迷,mamicode.com
首页 > 其他好文 > 详细

cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'

时间:2017-02-05 11:11:38      阅读:456      评论:0      收藏:0      [点我收藏+]

标签: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

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!