Hibernate exception _$$_javassist_0 cannot be cast to javassist.util.proxy.Proxy

前端 未结 14 1390
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 09:33

Hello I am using developnig java web application and I am getting the next exception when I am trying to fetch data using hibernate

java.lang.ClassCastExcept         


        
14条回答
  •  情书的邮戳
    2020-12-05 10:21

    In my case problem was that there were two javassist libraries in classpath. One from org.hibernate and other from org.apache.struts.xwork. Solved by removing latter.

提交回复
热议问题