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

weixin_34391854發表於2015-08-08

 

錯誤:“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放到最後)

相關文章