原文: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