org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txInterceptorForReadWrite' defined in class path resource [TransactionContext.xml]: Cannot resolve reference to bean 'txManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in class path resource [DataSourceContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [HibernateContext.xml]: Cannot resolve reference to bean 'HbmFileNameList' while setting bean property 'mappingLocations'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HbmFileNameList' defined in class path resource [HibernateContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: load failed: /database/hbm/*.hbm.xmlclass path resource [database/hbm/] cannot be resolved to URL because it does not exist

coderanch.com | 7 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

    SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException (Spring forum at Coderanch)

    coderanch.com | 9 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txInterceptorForReadWrite' defined in class path resource [TransactionContext.xml]: Cannot resolve reference to bean 'txManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in class path resource [DataSourceContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [HibernateContext.xml]: Cannot resolve reference to bean 'HbmFileNameList' while setting bean property 'mappingLocations'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HbmFileNameList' defined in class path resource [HibernateContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: load failed: /database/hbm/*.hbm.xmlclass path resource [database/hbm/] cannot be resolved to URL because it does not exist
  2. 0

    SEVERE: Context initialization failed org.sprin... | JBoss Developer

    jboss.org | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txInterceptorForReadWrite' defined in class path resource [TransactionContext.xml]: Cannot resolve reference to bean 'txManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in class path resource [DataSourceContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [HibernateContext.xml]: Cannot resolve reference to bean 'HbmFileNameList' while setting bean property 'mappingLocations'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HbmFileNameList' defined in class path resource [HibernateContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: load failed: /database/hbm/*.hbm.xmlclass path resource [database/hbm/] cannot be resolved to URL because it does not exist
  3. 0

    SEVERE: Context initialization failed org.sprin... | JBoss Developer

    jboss.org | 9 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txInterceptorForReadWrite' defined in class path resource [TransactionContext.xml]: Cannot resolve reference to bean 'txManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in class path resource [DataSourceContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [HibernateContext.xml]: Cannot resolve reference to bean 'HbmFileNameList' while setting bean property 'mappingLocations'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HbmFileNameList' defined in class path resource [HibernateContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: load failed: /database/hbm/*.hbm.xmlclass path resource [database/hbm/] cannot be resolved to URL because it does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException

    Coderanch | 7 years ago | luv zorabian
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txInterceptorForReadWrite' defined in class path resource [TransactionContext.xml]: Cannot resolve reference to bean 'txManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in class path resource [DataSourceContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [HibernateContext.xml]: Cannot resolve reference to bean 'HbmFileNameList' while setting bean property 'mappingLocations'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HbmFileNameList' defined in class path resource [HibernateContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: load failed: /database/hbm/*.hbm.xmlclass path resource [database/hbm/] cannot be resolved to URL because it does not exist
  6. 0

    SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException (Spring forum at Coderanch)

    coderanch.com | 7 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txInterceptorForReadWrite' defined in class path resource [TransactionContext.xml]: Cannot resolve reference to bean 'txManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in class path resource [DataSourceContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [HibernateContext.xml]: Cannot resolve reference to bean 'HbmFileNameList' while setting bean property 'mappingLocations'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HbmFileNameList' defined in class path resource [HibernateContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: load failed: /database/hbm/*.hbm.xmlclass path resource [database/hbm/] cannot be resolved to URL because it does not exist

    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. org.springframework.beans.factory.BeanCreationException

      Error creating bean with name 'txInterceptorForReadWrite' defined in class path resource [TransactionContext.xml]: Cannot resolve reference to bean 'txManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in class path resource [DataSourceContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [HibernateContext.xml]: Cannot resolve reference to bean 'HbmFileNameList' while setting bean property 'mappingLocations'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HbmFileNameList' defined in class path resource [HibernateContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: load failed: /database/hbm/*.hbm.xmlclass path resource [database/hbm/] cannot be resolved to URL because it does not exist

      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1172)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:940)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:437)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
      6 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      6. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:400)
      6 frames
    5. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:736)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
      2 frames
    6. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      3 frames
    7. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
      5 frames
    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:585)
      4 frames
    9. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      1 frame
    10. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      2 frames
    11. Glassfish Core
      StandardContext.init
      1. org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)
      1 frame
    12. 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:585)
      4 frames
    13. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      1 frame
    14. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      2 frames
    15. org.jboss.web
      TomcatDeployer.performDeploy
      1. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:336)
      2. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83)
      2 frames
    16. JBoss Application Server Server
      WebModule.startService
      1. org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:370)
      2. org.jboss.web.WebModule.startModule(WebModule.java:62)
      3. org.jboss.web.WebModule.startService(WebModule.java:40)
      3 frames
    17. JBoss Application Server System
      ServiceMBeanSupport.jbossInternalLifecycle
      1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
      2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
      2 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    19. org.jboss.mx
      ReflectedDispatcher.invoke
      1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      1 frame
    20. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      2. org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
      4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      4 frames
    21. JBoss Application Server System
      ServiceController$ServiceProxy.invoke
      1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      1 frame
    22. Unknown
      $Proxy0.start
      1. $Proxy0.start(Unknown Source)
      1 frame
    23. JBoss Application Server System
      ServiceController.start
      1. org.jboss.system.ServiceController.start(ServiceController.java:416)
      1 frame
    24. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    25. org.jboss.mx
      ReflectedDispatcher.invoke
      1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      1 frame
    26. JBoss Application Server J2SE
      MBeanProxyExt.invoke
      1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      2. org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
      4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      5. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      5 frames
    27. Unknown
      $Proxy24.start
      1. $Proxy24.start(Unknown Source)
      1 frame
    28. JBoss Application Server Server
      AbstractWebContainer.start
      1. org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:362)
      1 frame
    29. JBoss Application Server System JMX
      MainDeployer.deploy
      1. org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
      2. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
      3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
      3 frames
    30. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    31. org.jboss.mx
      ReflectedDispatcher.invoke
      1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      1 frame
    32. JBoss Application Server J2SE
      Invocation.dispatch
      1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      1 frame
    33. org.jboss.mx
      AbstractInterceptor.invoke
      1. org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
      1 frame
    34. JBoss Application Server J2SE
      Invocation.invoke
      1. org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      1 frame
    35. org.jboss.mx
      ModelMBeanOperationInterceptor.invoke
      1. org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      1 frame
    36. JBoss Application Server J2SE
      AbstractMBeanInvoker.invoke
      1. org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      2. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
      2 frames