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

    Developer Quick Start 12c server startup issue

    Oracle Community | 3 years ago | kroberts5683
    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

    The job (DEFAULT.timerJobDetail) referenced by the trigger does not exist的解决办法

    GitHub | 4 years ago | chengshwu
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterQuartzScheduler' defined in URL [file:/Y:/wokplace2/springside4-4.0.1.GA/examples/showcase/target/classes/schedule/applicationContext-quartz-timer-cluster.xml]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't store trigger 'DEFAULT.timerTrigger' for 'DEFAULT.timerJobDetail' job:The job (DEFAULT.timerJobDetail) referenced by the trigger does not exist. [See nested exception: org.quartz.JobPersistenceException: The job (DEFAULT.timerJobDetail) referenced by the trigger does not exist.]
  3. 0

    AspectJ - Presence of annotation in join point expression not recognized

    Stack Overflow | 5 years ago | kij
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: Standardized [Xlint:invalidAbsoluteTypeName]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Start the tomcat7 error_Java_Programering

    programering.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xfire.customEditorConfigurer' defined in class path resource [org/codehaus/xfire/spring/customEditors.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.LinkedHashMap' to required type 'java.util.Map' for property 'customEditors'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.codehaus.xfire.spring.editors.ServiceFactoryEditor] to required type [java.lang.Class] for property 'customEditors[org.codehaus.xfire.service.ServiceFactory]': PropertyEditor [org.springframework.beans.propertyeditors.ClassEditor] returned inappropriate value of type [org.codehaus.xfire.spring.editors.ServiceFactoryEditor]
  6. 0

    Severe error at startup if TDS's ContextPath is changed

    GitHub | 2 years ago | cofinoa
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ConfigCatalogManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private thredds.server.config.TdsContext thredds.core.ConfigCatalogManager.tdsContext; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tdsContext' defined in file [/vols/oceano/services/TDS6/apache-tomcat-7.0.34/webapps/tds6/WEB-INF/classes/thredds/server/config/TdsContext.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Content directory not a directory

  1. linxiaolong 1 times, last 2 months ago
  2. tvrmsmith 2 times, last 5 months ago
  3. qavid 3 times, last 7 months ago
4 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 '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.AbstractAutowireCapableBeanFactory.initializeBean()
  2. Spring Beans
    DefaultSingletonBeanRegistry.getSingleton
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    5 frames