如果出現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*,排序不正确。按照上面排序就ok了。