cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the type's content
来源:互联网 发布:sopcast网络电视官网 编辑:程序博客网 时间:2024/05/23 05:10
Multiple annotations found at this line:
- cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the type's content
type is element-only.
解:1
将头部文件
原来
<web-app version="3.0"
xmlns="http://Java.sun.com/xml/ns/javaee"
修改为
<web-app version="3.0"
xmlns="http://java.sun.com/xml/ns/j2ee"
解决2:不要粘贴,直接手写。或者将web.xml中有错误的部分删除重新写上,保存。
阅读全文
0 0
- cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the type's content
- cvc-complex-type.2.3: Element 'beans' cannot have character [children], because the type's content t
- cvc-complex-type.2.3: Element 'list' cannot have character [children], because the type's content ty
- cvc-complex-type.2.3: Element 'servlet' cannot have character [children], because the type's content
- 兔子-cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the type's cont
- cvc-complex-type.2.3:Element \'filter-mapping\' cannot have character [children],because the type\'s content type is element-onl
- cvc-complex-type.2.3: Element 'beans' cannot have character [children], because the type's conte
- cvc-complex-type.2.3:Element 'filter-mapping' cannot have character [children],because the type's co
- cvc-complex-type.2.3: Element 'dependency' cannot have character [children], because the type's cont
- cvc-complex-type.2.3:Element 'filter-mapping' cannot have character [children],because the type's co
- cvc-complex-type.2.3: Element 'dependency' cannot have character [children], because the type's cont
- cvc-complex-type.2.3:Element 'filter-mapping' cannot have character [children],because the type's co
- java web.xml 报错cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the
- java web.xml报错cvc-complex-type.2.3: Element 'web-app' cannot have character [children]
- - cvc-complex-type.2.3: Element 'web-app' cannot have character
- cvc-complex-type.2.3: Element 'web-app' cannot have character
- cvc-complex-type.2.3: Element 'beans' cannot have character [children]
- cvc-complex-type.2.3: Element 'beans' cannot have character [children]
- mybatis foreach多次遍历问题
- C
- Fetch / ajax 不能获取response中的所有headers的解决方法(适用nginx)
- 括号的匹配问题
- Spring核心概念<二>:AOP面向切面编程
- cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the type's content
- mybatis
- Android窗口管理分析(1):View如何绘制到屏幕上的主观理解
- OpenCV Error: Unspecifiederror 解决
- Linux 运维面试笔试
- 微信小程序---蓝牙连接开发总结
- c#数据类型
- FSM(状态机)、HFSM(分层状态机)、BT(行为树)的区别
- 三种计时器的用法