Getting class cast exception where both classes are exactly the same

后端 未结 5 1479
天涯浪人
天涯浪人 2020-11-27 07:16

I am doing a JBoss SEAM project and when I view a form I get this error.

java.lang.ClassCastException:
it.cogitoweb.csi.entity.csiorelav.CsiTipoLav cannot be         


        
5条回答
  •  余生分开走
    2020-11-27 07:33

    The object you are trying to cast, is loaded by a different classloader than the one which has loaded the class you are trying to cast into.

提交回复
热议问题