The content of element type "struts" must match "(package|include|bean|constant)*".
来源:互联网 发布:北京软件学院 编辑:程序博客网 时间:2024/05/16 19:50
一、出现问题
二、问题原因
三、解决方案
出现该错误说明xml不符合dtd规范,提示信息已经给出来了,它的意思是struts下的子节点只能是package、include、bean或者constant。
而我struts标签下却有<action/>,所以报错。
解决办法是将<action/>标签移到package的子节点中,OK,问题解决了!
四、学习心得
1、办法总比困难多,只要静下心来,一切都不是问题。
2、捋清楚了就简单了。
阅读全文
0 0
- 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)*".
- he content of element type "struts" must match "((package|include|bean|constant)*,unknown-handler-stack?)".解决方法
- Java大牛养成记(5)——The content of element type "struts" must match "(package|include|bean|constant)*".
- The content of element type "package" must match...
- The content of element type "package" must match 。。。。。。
- The content of element type "package" must match 随笔
- struts.xml错误提示:The content of element type "package" must match "(result-types?,interceptors?,defaul
- The content of element type "struts-config" must match 解决方案
- struts.xml中提示content of element type "package" must match
- struts-config.xml配置文件顺序异常: The content of element type "struts-config" must match
- [com.opensymphony.xwork2.util.DomHelper] The content of element type "package" must match
- 如果出现The content of element type "package" must match "(result-types?,interceptors?,default-interce
- “The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-
- The content of element type "package" must match "(result-types?,interceptors?,default-intercept
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
- struts2配置文件错误(The content of element type “package” must match**)
- org.xml.sax.SAXParseException The content of element type "package" must match "(result-types?,inter
- L1-009. N个数求和
- 设计模式之迭代器模式
- Xilinx ZYNQ 7000+Vivado2015.2系列(二)之奇数分频和逻辑分析仪(ILA)的使用
- 如果一个网站后台能有机会接触到用户的明文密码,那就是流氓行为!
- PHP面试总结(3)-- Linux
- The content of element type "struts" must match "(package|include|bean|constant)*".
- 数据库那点事(Mysql)-完
- Django在admin后台集成TinyMCE富文本编辑器添加上传图片功能
- C#回顾学习笔记三十五:泛型集合List
- sklearn 决策树可视化
- 【模拟赛】qbxt金秋冲刺训练营杯NOIP模拟赛第二场D1
- js小工具
- 同一系统下,keil 4和keil 5以及keil c51共存的解决方案
- python ----split()