mybatis 中collection中需要 open close separator

<result property="openFactories" column="open_factories" />

mybatis 错误

The content of element type "resultMap" must match 

 "(constructor?,id*,result*,association*,collection*,discriminator?)".

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

需要按照

<id>

<result>

<association>

<collection>

顺序来排列

 

相关文章:

  • 2021-04-10
  • 2021-06-01
  • 2022-02-20
  • 2021-08-13
  • 2021-06-08
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
猜你喜欢
  • 2021-06-02
  • 2022-02-16
  • 2022-12-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案