“The content of element type "package" must match "(result-types?,interceptors?,

来源:互联网 发布:软件开发转正工作总结 编辑:程序博客网 时间:2024/05/22 12:52
“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*)". ” 

struts2中这个错误的意思是,package里元素必须按照一定的顺序排列。这个顺序 
就是 
result-types 
interceptors 
default-interceptor-ref 
default-action-ref 
default-class-ref 
global-results 
global-exception-mappings 
action*(就是所有的action放到最后) 
0 0
原创粉丝点击