What?! java.lang.ClassCastException?!

If you are facing something very strange like com.tassioauad.MyEntity cannot be cast to com.tassioauad.MyEntity, don't worry because you are not alone.  It's  typically occurs when two ClassLoader load the classes with the same name, because different ClassLoader can do the same class be considered different. What is the ClassLoader?  It is a class that load other classes, … Continue lendo What?! java.lang.ClassCastException?!