spring boot集成tk.mybatis3.4.0通用mapper, java.lang.ClassCastException,实体不能转换为实体
gaotengjiao 发布于 2020-03-15
项目使用spring boot1.5.2 集成mybatis通用mapper插件,发现查询方法selectByPrimaryKey 会导致发生异常—— java.lang.ClassCastException:com.xxx.xxx.entity cannot be cast t...
阅读(3131)赞 (0)