I made this code:
protected Lala lala;
private Oyeha oyeha;
public void setLala(Lala lala) {
this.lala = lala;
}
this.oyeha = (Oyeha) this.lala;
executeHostBean = this.oyeha.updateMethod(a, b, c, d, e);
Lala is the parrent class.
Oyeha is the child which extends Lala.
But when i run this code, i got error:
java.lang.ClassCastException: $Proxy201
I can't find where my mistake is. Can somebody help me solve this problem, please? Thank you. :)