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

“The content of element type "package" must match "(result-types?,interceptors?,
“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放到最后)
1 楼 byandby 2010-11-20  
A YOU 我的小笨猪。。 呼呼。 “The content of element type "package" must match "(result-types?interceptors?
2 楼 sam_kee 2010-11-29  
英文很重要啊!!!!!
3 楼 christy_fang 2010-12-07  
sam_kee 写道
英文很重要啊!!!!!

嗯 还真不是一般的重要啊  是灰常重要!!