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

[ad_1]

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

[ad_2]

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