ClassCastException cannot be cast to java util Map

ClassCastException cannot be cast to java util Map

ClassCastException cannot be cast to java util Map Hibernate: java.lang.ClassCastException: com.wfs.otc.datamodels.ImagineExpiryModel cannot be cast to java.util.Map Problem: During working with Hibernate while trying to fetch and map data into Java POJO you get below exception: