java.lang.NoSuchMethodError: net/sf/cglib/proxy/Enhancer.setInterceptDuringConstruction(Z)V

Coderanch | Priya Gupta | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problem in Hibernate program( in Enhancer.setInterceptDuringConstruction)

    Coderanch | 6 years ago | Priya Gupta
    java.lang.NoSuchMethodError: net/sf/cglib/proxy/Enhancer.setInterceptDuringConstruction(Z)V
  2. 0

    Excpeion in creation of hibernate session

    Coderanch | 6 years ago | Priya Gupta
    java.lang.NoSuchMethodError: net/sf/cglib/proxy/Enhancer.setInterceptDuringConstruction(Z)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      net/sf/cglib/proxy/Enhancer.setInterceptDuringConstruction(Z)V

      at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory()
    2. Hibernate
      CGLIBLazyInitializer.getProxyFactory
      1. org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
      1 frame