读书人

“The content of element type quot;pack

发布时间: 2012-11-11 10:07:57 作者: rapoo

“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放到最后)
2 楼 sam_kee 2010-11-29 英文很重要啊!!!!! 3 楼 christy_fang 2010-12-07 sam_kee 写道英文很重要啊!!!!!
嗯 还真不是一般的重要啊 是灰常重要!!

读书人网 >软件架构设计

热点推荐