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.XX.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 | 3 months ago
  1. 0

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

    aiuxian.com | 3 months ago
    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.XX.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
  2. 0

    Handle mongodb connection issues on startup

    Stack Overflow | 4 years ago | TheZuck
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.myservice.service.MediaDataService com.myservice.controller.MediaController.mediaDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mediaDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.myservice.repository.MediaDataRepository com.myservice.service.MediaDataService.mediaDataRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mediaDataRepository': FactoryBean threw exception on object creation; nested exception is com.mongodb.MongoException$Network: can't call something : /127.0.0.1:27017/myservice_db
  3. 0

    issue while deploying on weblogic 12c with autowiring SessionFactory

    Stack Overflow | 2 years ago | DIY
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.test.dao.AccountDetailDaoImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error creating bean "sessionFactory"

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.nscorp.lars.shopleveling.core.dao.impl.DataLoadDaoImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/servlet-context.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.JoinColumn.foreignKey()Ljavax/persistence/ForeignKey;
  6. 0

    Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Ljavax/enterprise/concurrent/ManagedThreadFactory - scriptscoop.com

    iswwwup.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myComponent' defined in class path resource [my/package/bean.xml]: Cannot resolve reference to bean 'careCoordinatorRecipientListComponentRouter' while setting bean property 'inboundRouter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myComponent': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.enterprise.concurrent.ManagedThreadFactory] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, mappedName=, description=, name=, type=class java.lang.Object, authenticationType=CONTAINER, lookup=)}

  1. qavid 2 times, last 4 months ago
  2. mortalman7 8 times, last 5 months ago
  3. rlovtangen 1 times, last 5 months ago
  4. Kawada 2 times, last 8 months ago
20 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.XX.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
    AbstractAutowireCapableBeanFactory.doCreateBean
    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)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    5 frames