java.lang.ClassCastException: metier.Ville_$$_javassist_2 cannot be cast to javassist.util.proxy.Proxy

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hibernate exception javassist

    Stack Overflow | 2 months ago | Djibril Jorandhi
    java.lang.ClassCastException: metier.Ville_$$_javassist_2 cannot be cast to javassist.util.proxy.Proxy
  2. 0

    Hibernate Envers - DefaultRevisionEntity cannot be cast to javassist.util.proxy.Proxy

    Stack Overflow | 1 year ago | Rômulo Deroci da Rocha
    java.lang.ClassCastException: org.hibernate.envers.DefaultRevisionEntity_$$_javassist_153 cannot be cast to javassist.util.proxy.Proxy
  3. 0

    My Hacking Journal: Proxy instantiation problem from Hibernate Session load

    blogspot.com | 2 years ago
    org.hibernate.HibernateException: Javassist Enhancement failed: Thing
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate LazyInitializationException with Spring MVC

    Stack Overflow | 3 years ago | cr0nicz
    org.hibernate.HibernateException: Javassist Enhancement failed: com.example.package.RelatedEntity
  6. 0

    关于在使用Hibernate时出现javassist.bytecode.DuplicateMemberException的问题 - CSDN博客

    csdn.net | 1 year ago
    org.hibernate.HibernateException: HHH000142: Javassist Enhancement failed: myapp.model.process.ProcessLog

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      metier.Ville_$$_javassist_2 cannot be cast to javassist.util.proxy.Proxy

      at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy()
    2. Hibernate
      AbstractEntityTuplizer.createProxy
      1. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.java:147)
      2. org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.getProxy(JavassistProxyFactory.java:75)
      3. org.hibernate.tuple.entity.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:771)
      3 frames