app cannot have character [children], because the types cont Home » 编程开发 » app cannot have character [children], because the types cont 使用Myeclipse配置web.xml时,出现错误:cvc-complex-type.2.3: Element ‘web-app’ cannot have character [children], because the type’s content type is element-only. 错误原因:代码是在网上找的,,直接粘贴到web.xml中的,就出现了以上错误。 解决办法:手动输入代码,不要粘贴进去。 只有不快的斧,没有劈不开的柴。