元素类型为 "package" 的内容必须匹配 "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,d
来源:互联网 发布:在线网络北京时间 编辑:程序博客网 时间:2024/05/01 23:43
元素类型为 "package" 的内容必须匹配"(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action*)"。
出现此问题的原因是struts.xml没有按照ContentModel的顺序书写:
配置文件的顺序必须按照ContentModel的顺序书写,否则报错
放在package上可以显示配置文件书写的正确的顺序
没有的跳过,有的按此顺序书写
0 0
- 元素类型为 "package" 的内容必须匹配 "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,d
- 元素类型为 "package" 的内容必须匹配 "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?..
- 元素类型为 "package" 的内容必须匹配 "(result-types?,interceptors?,default-interceptor-ref?
- Tomcat struts xml文件报错:"(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?..
- Webwork配置文件中interceptors,result-types,global-results,default-interceptor-ref,action标签顺序问题
- “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-interceptor-r
- The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-r
- The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-r
- The content of element type "package" mustmatch "(result-types?,interceptors?,default-interceptor-re
- The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-r
- The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-r
- <default-action-ref>的用法
- Struts2---->default-action-ref
- <default-interceptor-ref name="myStack"></default-interceptor-ref>
- 关于 default-action-ref 的一个BUG
- 关于default-action-ref的思考
- struts 中default-action-ref的问题
- 标点符号换位空格进行统计
- resize 后的 Mat像素快速历遍 opencv
- ios百度地图接入流程
- 编码:隐匿在计算机软硬件背后的语言(1)--编码到二进制数字系统
- 【前端攻城狮之路】html中的<meta>标签
- 元素类型为 "package" 的内容必须匹配 "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,d
- Filter(过滤器)学习
- 【PHP】实现验证码图片
- 关于antennapod及bookmarklet的使用
- 多线程中 run() 和 start() 方法 的区别
- virtualbox 共享文件夹
- 设计模式随笔-迭代器与组合模式
- 程序员日常小工具集棉
- 清华EMBA课程系列思考之十四 -- 战略管理