java项目问题 The content of element type servlet must match (icon?,servlet-name,display-name?,descrip
错误问题:The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
原因分析:web.xml文档内容标签顺序不符合web-app_2_3.dtd规范
解决方案:删除web.xml头部信息<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
java项目问题 The content of element type servlet must match (icon?,servlet-name,display-name?,descrip相关推荐
- The content of element type web-app must match……等 问题之解决办法
在flex整合Java生成的web.xml中添加引用servelet的代码就报错如下: The content of element type "web-app" must mat ...
- mybatis项目启动报错 The content of element type resultMap must match (constructor?,id*,result*,associat...
启动项目报错 2018-02-26 17:09:51,535 ERROR [org.springframework.web.context.ContextLoader] - Context initi ...
- The content of element type “mapper“ must match “EMPTY“.错误
<mappers><mapper resource="cn/java/dao/impl/xxx.xml"></mapper></mappe ...
- The content of element type configuration must match (properties?,setting
在运行mybatis配置文件的时候,出现错误: [html] view plain copy Caused by: org.xml.sax.SAXParseException: The conte ...
- arse Error at line 58 column 17: The content of element type struts-config must match (display-na
以前没有接触过struts1的项目 刚上来开发公司来的项目的时候遇到的这个错误. 报错信息: 严重: Parse Error at line 58 column 17: The content of ...
- namespace 或The content of element type mapper must match EMPTY
必须为元素类型 "mapper" 声明属性 "namespace" 或The content of element type "mapper" ...
- The content of element type configuration must match (properties?,settings?,typeAliases?,typeHand...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC & ...
- 在xml文件中使用typeAliases标签报错The content of element type “configuration“ must match “(properties?,setting
typeAliases标签:为Java 类型设置一个短的名字/别名 这里的错误提示:(properties?,settings?,typeAliases?,typeHandlers?,objectFa ...
- mapper.xml报异常The content of elhe content of element type mapper
The content of element type "mapper" must match "(cache-ref|cache|resultMap*|paramete ...
最新文章
- 一个android记事本的学习过程记录! (一)
- 深入学习python内存管理
- pyqt5教程10:Widgets2组件
- DataGrip 2019.2.5 —— 中文列名(字段名)(columns name)乱码问题解决方案
- 更改环境变量JAVA_HOME无效
- 2018刑侦推理 java_2018年刑侦科目推理试题
- MySQL授权命令grant的使用方法
- x265与SVT-HEVC现已合二为一
- caffe cifar10试跑问题总结
- 360安全卫士电脑版_教你降服“流氓头子”正确打开360安全卫士的姿势,还你电脑流畅体验...
- 25个优秀的设计机构网站设计案例
- Galaxy s4怎么安装一个预装软件的签名不一致的新版本
- python json序列化对象_Python学习之json序列化
- 使用arcgis、matlab与R语言GD包进行地理探测器 批量运行,并导出探测结果
- 万用表测试软件,万用表的使用入门 虚拟仿真实验教学软件
- 学习Java,你能做这些工作:
- 给视频加水印的软件有哪些?推荐两种软件快速加水印
- 80+的AI音频工具你值得拥有
- mkdir cd 创建并进入文件夹,创建并进入目录,只写一遍目录名, `$_`获取最后一个参数, 笔记221108
- Algorithm算法