org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'documentManagerTarget' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.SOADataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/SOADataSource'

Oracle Community | kroberts5683 | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Developer Quick Start 12c server startup issue

    Oracle Community | 3 years ago | kroberts5683
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'documentManagerTarget' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.SOADataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/SOADataSource'
  2. 0

    Captain Debug's Blog: Spring 3.1 Caching and Config

    captaindebug.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.interceptor.CacheInterceptor#0': Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'cacheManager' is defined
  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

    BeanCreationException: Error creating bean with name 'transactionAdvice' - Forums | Liferay

    liferay.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionAdvice' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'liferayTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Ljavax/transaction/TransactionManager;

  1. linxiaolong 1 times, last 3 months ago
  2. batwalrus76 1 times, last 6 months ago
  3. qavid 2 times, last 10 months ago
  4. mortalman7 8 times, last 10 months ago
  5. rlovtangen 1 times, last 11 months ago
1 more registered users
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

    Error creating bean with name 'documentManagerTarget' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/fabric-config-core.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.SOADataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/SOADataSource'

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference()
  2. Spring Beans
    AbstractAutowireCapableBeanFactory.doCreateBean
    1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    5 frames