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

来源:互联网 发布:java 字符串换行拼接 编辑:程序博客网 时间:2024/05/16 11:18


错误:“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
原创粉丝点击