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

前端 未结 14 1380
伪装坚强ぢ
伪装坚强ぢ 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:27

    I had the same problem with Spring Data JPA. I confirm it comes from javassit conflict. The solution is :

    
        org.hibernate
        hibernate-core
        compile
        
            
                javassist
                org.javassist
            
        
    
    
    
        org.javassist
        javassist
        3.18.2-GA
        compile
    
    

提交回复
热议问题