org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kalu' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Cannot resolve reference to bean 'abc' while setting bean property 'meat'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abc' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer

coderanch.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    method injection problem (Spring forum at JavaRanch)

    coderanch.com | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kalu' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Cannot resolve reference to bean 'abc' while setting bean property 'meat'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abc' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
  2. 0

    method injection problem (Spring forum at Coderanch)

    coderanch.com | 6 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kalu' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Cannot resolve reference to bean 'abc' while setting bean property 'meat'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abc' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
  3. 0

    method injection problem

    Coderanch | 7 years ago | Samanthi perera
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kalu' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Cannot resolve reference to bean 'abc' while setting bean property 'meat'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abc' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    method injection problem

    Coderanch | 7 years ago | Samanthi perera
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kalu' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Cannot resolve reference to bean 'abc' while setting bean property 'meat'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abc' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
  6. 0

    method injection problem

    Coderanch | 7 years ago | Samanthi perera
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kalu' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Cannot resolve reference to bean 'abc' while setting bean property 'meat'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abc' defined in file [C:\Documents and Settings\aruna\workspace\SpringFirst\CarApp.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter

    25 unregistered visitors
    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.NoClassDefFoundError

      Could not initialize class net.sf.cglib.proxy.Enhancer

      at org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy$CglibSubclassCreator.instantiate()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy$CglibSubclassCreator.instantiate(CglibSubclassingInstantiationStrategy.java:107)
      2. org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(CglibSubclassingInstantiationStrategy.java:70)
      3. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      7 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
      8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      12 frames
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    6. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      6 frames
    7. com.aruna
      MainApp.main
      1. com.aruna.MainApp.main(MainApp.java:19)
      1 frame