The content of element type "struts-config" must match的解决方法
来源:互联网 发布:绝世武神坐骑进阶数据 编辑:程序博客网 时间:2024/06/05 08:24
Struts1的xml文件报错如下
The content of element type "struts-config" must match "(display-name?,description?,form- beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug- in*)".
解决方法:
一般看到这段描述的时候首先是看字符是否匹配了。
1.“?”代表是0个或1个,“*”代表是0个或多个。当然在这个描述的语意中不存在这个问题。
2.查看标签是否配对,保证每个标签都是<></>这样的一对一对的。还有一个比较隐蔽的原因就是顺序错误,各个成员的顺序错误也会报这个错误。根据报错的标签顺序进行检查自己的xml文件里的标签顺序是否正确。
阅读全文
0 0
- The content of element type "struts-config" must match的解决方法
- The content of element type "struts-config" must match 解决方案
- struts-config.xml配置文件顺序异常: The content of element type "struts-config" must match
- The content of element type "struts-config" must match "(data-sources?,form-
- The content of element type "struts-config" must match "(display-name?,description?,data-sources?,fo
- the content of element type must match解决方法
- arse Error at line 58 column 17: The content of element type "struts-config" must match "(display-na
- mybatis-config.xml:报SAXParseException: The content of element type "configuration" must match
- he content of element type "struts" must match "((package|include|bean|constant)*,unknown-handler-stack?)".解决方法
- struts.xml错误提示:The content of element type "package" must match "(result-types?,interceptors?,defaul
- The content of element type "struts" must match "((package|include|bean|constant)*,unknown-handler-s
- The content of element type "struts" must match "(package|include|bean|constant)*".
- 完全解决struts启动时报错:The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-for
- ibatis:The content of element type "sqlMap" must match
- The content of element type "package" must match...
- The content of element type "package" must match 。。。。。。
- The content of element type "package" must match 随笔
- The content of element type "web-app" must match "
- Windows子系统---(三)显示GUI
- c++入门教程(一)
- 551. Student Attendance Record I
- resource required not found之Bean property 'sessionFactory' is not writable or has an invalid setter
- 数据结构各种排序法及核心思想(冒泡、鸡尾酒、选择、插入、二分法、希尔、堆、归并、快速)
- The content of element type "struts-config" must match的解决方法
- POJ 2482 Stars in Your Window
- 算法--堆排序
- HDU 6073 Matching In Multiplication (拓扑排序+搜索 求二分图所有完美匹配价值和)
- HDU6075-Questionnaire
- java开发导出Excel和Word文档
- Hibernate一对多操作
- effect java 学习摘要(5)
- 我所理解的类方法(classmethod)(关键词:类方法/ClassMethod)