Mybatis-Could not find result map problem

Mybatis-Could not find result map problem

org.apache.ibatis.builder.IncompleteElementException: Could not find result map…

Wrong way


<select id="queryXXXCount"  resultMap="java.util.Map" >

Correct writing:


<select id="queryXXXCount" resultType="java.util.Map">

in conclusion

The problem lies in the use of resultMap and resultType

The difference between the two

The difference between ResultMap and ResultType

Link: https://blog.csdn.net/fengbird/article/details/50947150 )


Continuously updating...

Guess you like

Origin blog.csdn.net/weixin_44325444/article/details/106559131