[Solved] Class cast Exception: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Long


The reason it is showing the exception is that PropertyDAO.findAHRCategoryCodesByPartnerIdAndCodeList1() or one of the methods it is calling is attempting to cast a List into a Long.

2

solved Class cast Exception: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Long