1、mybatis 错误,xxx.xml配置文件报这样的错误,具体错误,如下所示:

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

具体原因:造成的原因是<resultMap>标签中

需要按照

<id>

<result>

<association>

<collection>

顺序来进行排列,不然就会出现上面的错误的。

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

 

 

相关文章:

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