java.lang.ClassCastException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19027

  • via Stack Overflow by Djibril Jorandhi
    , 5 months ago
    metier.Ville_$$_javassist_2 cannot be cast to javassist.util.proxy.Proxy
  • com.huangliusong.entity.Customer_$$_javassist_2 cannot be cast to javassist.util.proxy.Proxy
  • via Hibernate JIRA by Edilmar Alves, 1 year ago
    entity.ClientePsq_$$_javassist_323 cannot be cast to javassist.util.proxy.Proxy
  • Stack trace

    • java.lang.ClassCastException: metier.Ville_$$_javassist_2 cannot be cast to javassist.util.proxy.Proxy at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.java:147) at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.getProxy(JavassistProxyFactory.java:75) at org.hibernate.tuple.entity.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:771)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago