原文:java.lang.ClassCastException: com.xx.User cannot be cast to com.xx.User

项目使用spring boot . . 集成mybatis通用mapper插件,发现查询方法selectByPrimaryKey 会导致发生异常 java.lang.ClassCastException:com.xxx.xxx.entity cannot be cast to com.xxx.xxx.entity 测试过:insert update delete方法都没有问题,就是查询出实体就报 ...

2018-02-22 18:19 0 1584 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM