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

coderanch.com | 6 months ago
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

    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: net/sf/cglib/proxy/CallbackFilter
  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: net/sf/cglib/proxy/CallbackFilter
  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: net/sf/cglib/proxy/CallbackFilter
  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: Could not initialize class net.sf.cglib.proxy.Enhancer

    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

      net/sf/cglib/proxy/CallbackFilter

      at org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(CglibSubclassingInstantiationStrategy.java:70)
      2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      6 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