org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUsersDtoFacadeImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.XX.XX.app.service.AppUsersService cn.XX.XX.app.facade.impl.AppUsersDtoFacadeImpl.appUsersService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUsersServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.XX.enterprise.rmi.service.EnterpriseRmiService cn.XX.portal.app.service.impl.AppUsersServiceImpl.enterpriseRmiService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enterpriseRmiService': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class $Proxy8]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy8

aiuxian.com | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp and poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    Check Servers Launch Configuration in Eclipse. See the details below.
  2. 0
    samebug tip
    Spring expects that the EntityManagerFactory has to be called "entityManagerFactory". It uses convention over configuration to make it easier to use.
  3. 0
    samebug tip
    Add slf4j dependency to your pom.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Caused by: java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy8 - 爱悠闲,快乐工作,悠闲生活!

    aiuxian.com | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUsersDtoFacadeImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.XX.XX.app.service.AppUsersService cn.XX.XX.app.facade.impl.AppUsersDtoFacadeImpl.appUsersService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUsersServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.XX.enterprise.rmi.service.EnterpriseRmiService cn.XX.portal.app.service.impl.AppUsersServiceImpl.enterpriseRmiService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enterpriseRmiService': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class $Proxy8]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy8
  6. 0

    Enhancements to Testing and JSSE Debugging in Camel 2.10 | David Valeri's Blog

    wordpress.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘com.tt.ais.upc.CamelSpringJUnit4ClassRunnerPlainTest’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.apache.camel.CamelContext com.tt.ais.upc.CamelSpringJUnit4ClassRunnerPlainTest.context; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.apache.camel.CamelContext] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

  1. rp 2 times, last 4 months ago
  2. asdasd 2 times, last 7 months ago
  3. Tahir 4 times, last 8 months ago
  4. fima 25 times, last 7 months ago
  5. Shadd518 63 times, last 8 months ago
22 more registered users
17 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. org.springframework.beans.factory.BeanCreationException

    Could not autowire field: private cn.XX.XX.app.service.AppUsersService cn.XX.XX.app.facade.impl.AppUsersDtoFacadeImpl.appUsersService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUsersServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.XX.enterprise.rmi.service.EnterpriseRmiService cn.XX.portal.app.service.impl.AppUsersServiceImpl.enterpriseRmiService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enterpriseRmiService': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class $Proxy8]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy8

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject()
  2. Spring Beans
    AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues
    1. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
    2. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    3. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
    3 frames