首页 > 其他 > 详细

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

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

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'

原文:http://www.cnblogs.com/chry/p/6367047.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!