cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'
Posted 大象O无形
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-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'的主要内容,如果未能解决你的问题,请参考以下文章
weblogic.xml 中的错误:cvc-complex-type.2.4.a:发现以元素“prefer-application-packages”开头的无效内容
cvc-complex-type.2.4.a: Invalid content was found starting with element
cvc-complex-type.2.4.a:具有子元素和属性的复杂类型[重复]
cvc-complex-type.2.4.a: Invalid content was found starting with element 错误
解决cvc-complex-type.2.4.a: Invalid content was found starting with element
org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 ‘outgoing‘ 开头的无效内容