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.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: 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.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

    [jira] (MRM-1632) Invalid Cron in a job leads jetty to not work anymore

    apache.org | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.apache.archiva.scheduler.indexing.DownloadRemoteIndexScheduler org.apache.archiva.rest.services.DefaultRepositoriesService.downloadRemoteIndexScheduler; nested exception is org.springframework.beans.factory.BeanCrea > tionException: Error creating bean with name 'downloadRemoteIndexScheduler#default': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: cron expression must consist of 6 fields (found 5 in */5 * * * *)
  3. 0

    Cannot find class [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean

    Stack Overflow | 4 years ago | user1406763
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'helloController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mkyong.common.services.ProductServices com.mkyong.common.controller.HelloController.productService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: **Cannot find class [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean] for bean with** name 'sessionFactory' defined in ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring + Hibernate Integration Example

    howtodoinjava.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘editEmployeeController’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.howtodoinjava.service.EmployeeManager com.howtodoinjava.controller.EditEmployeeController.employeeManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’employeeManager’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.howtodoinjava.dao.EmployeeDAO com.howtodoinjava.service.EmployeeManagerImpl.employeeDAO; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’employeeDAO’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.howtodoinjava.dao.EmployeeDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in ServletContext resource [/WEB-INF/employee-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/annotations/common/AssertionFailure
  6. 0

    Spring + Hibernate Integration Example

    howtodoinjava.com | 2 weeks ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘editEmployeeController’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.howtodoinjava.service.EmployeeManager com.howtodoinjava.controller.EditEmployeeController.employeeManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’employeeManager’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.howtodoinjava.dao.EmployeeDAO com.howtodoinjava.service.EmployeeManagerImpl.employeeDAO; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’employeeDAO’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.howtodoinjava.dao.EmployeeDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in ServletContext resource [/WEB-INF/employee-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/annotations/common/AssertionFailure

  1. Andreas Häber 2 times, last 4 weeks ago
  2. wendellpereira 12 times, last 2 months ago
  3. marcbouvierdav 7 times, last 3 months ago
  4. linxiaolong 7 times, last 4 months ago
  5. ggghjh 1 times, last 5 months ago
1 more registered users
94 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

    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.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.postProcessPropertyValues()
  2. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
    9 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
    2 frames
  4. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
    3 frames
  5. Jetty
    XmlConfiguration$1.run
    1. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:645)
    2. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
    3. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1158)
    4. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:588)
    5. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:436)
    6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
    7. org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
    8. org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
    9. org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:479)
    10. org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:136)
    11. org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137)
    12. org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50)
    13. org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:477)
    14. org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:389)
    15. org.eclipse.jetty.util.Scanner.scan(Scanner.java:339)
    16. org.eclipse.jetty.util.Scanner.start(Scanner.java:275)
    17. org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114)
    18. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
    19. org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:540)
    20. org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:219)
    21. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
    22. org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:42)
    23. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:52)
    24. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
    25. org.eclipse.jetty.server.Server.doStart(Server.java:258)
    26. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
    27. org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1068)
    27 frames
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. Jetty
    XmlConfiguration.main
    1. org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:993)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  9. Jetty :: Start
    Main.main
    1. org.eclipse.jetty.start.Main.invokeMain(Main.java:477)
    2. org.eclipse.jetty.start.Main.start(Main.java:623)
    3. org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273)
    4. org.eclipse.jetty.start.Main.main(Main.java:81)
    4 frames