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>
順序來進行排列,不然就會出現上面的錯誤的。