我是靠谱客的博主 欣喜火龙果,这篇文章主要介绍Cause: java.lang.IllegalArgumentException: argument type mismatch 错误,现在分享给大家,希望可以做个参考。

Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property ‘orderList’ of ‘class com.vihg.pojo.User’ with value ‘Order{id=1, orderTime=‘2019-12-12’, total=3000.0, uid=null}’ Cause: java.lang.IllegalArgumentException: argument type mismatch

collection property=“orderList” javaType=“com.vihg.pojo.Order”
在使用一对多查询的时候,不能再去使用javaType去接收
需要去使用的ofType关键字去接收
最后
以上就是欣喜火龙果最近收集整理的关于Cause: java.lang.IllegalArgumentException: argument type mismatch 错误的全部内容,更多相关Cause:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复