解決java.util.LinkedHashMap cannot be cast to xxx

查詢返回爲List courseList2,但實際courseList2存放的是HashMap<k,V>,因此在遍歷courseList2時報java.util.LinkedHashMap cannot be cast to xxx錯誤, 參考:https://blog.csdn.net/qq_21104515/article/details/80915183 實體類java public cla
相關文章
相關標籤/搜索