【今日 BUG】Exception in thread “main“ java.lang.ClassCastException: class testdo.company cannot be cast

it2026-02-22  7

Exception in thread "main" java.lang.ClassCastException: class testdo.company cannot be cast to class testdo.Addre (testdo.company and testdo.Addre are in unnamed module of loader 'app')

原因 :泛型错误导致的     浪费3小时

List<Addre>selectDepart(); List<company>selectDepart();
最新回复(0)