struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
来源:互联网 发布:故宫神思知乎 编辑:程序博客网 时间:2024/05/29 07:53
在struts.xml中配置了拦截器之后报错了,错误为:
The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-
results?,global-exception-mappings?,action*)".,查了资料才知道,原来是package里元素必须按照一定的顺序排列:
result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*(就是所有的action放到最后)
阅读全文
0 0
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
- 如果出现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
- The content of element type "package" must match "(result-types?,interceptors?,default-intercept .
- 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-intercept .
- 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-intercept
- 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-intercept .
- 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-intercept
- struts2 问题 The content of element type "package" must match "(result-types?,interceptors?,
- CSS3盒子模型
- 给UIButton添加URL图片、给UIImageView添加URL图片
- HTTP返回状态码简介
- Android增量更新和签名校验
- 11:图像旋转(1.8编程基础之多维数组)
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
- PHP的两种特殊类型
- mysql 学习笔记
- js制作简单的音乐播放器
- 数据结构 顺序串的建立及其函数 C语言版
- Leetcode 9 Palindrome Number
- Ubuntu gdebi install fall 的解决方法
- xml xmlns xmlns:xsi xsi:schemaLocation含义
- Hinton Neural Networks课程笔记3d:反向传播算法(BP)