The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collecti

配置resultMap时提示以下异常提示:

The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)"

The content of element type

主要原因就是resultMap的属性配置得按照constructor、id、result、association、collection、discriminator的顺序。

The content of element type

你可能感兴趣的:(MyBatis,mybatis)