报错

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*)".

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*)".

 


原因 action与result-type顺序搞错了

package里元素必须按照一定的顺序排列:

result-types
interceptors
default-interceptor-ref
default-action-ref
default-class-ref
global-results
global-exception-mappings
action*

 

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-07-04
  • 2021-10-16
  • 2021-04-13
  • 2021-07-23
猜你喜欢
  • 2021-10-14
  • 2022-01-30
  • 2021-08-09
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
相关资源
相似解决方案