org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'connection' defined in class de.charite.compbio.exomiser.cli.config.DataSourceConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.sql.Connection de.charite.compbio.exomiser.cli.config.DataSourceConfig.connection()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class de.charite.compbio.exomiser.cli.config.DataSourceConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.charite.compbio.exomiser.cli.config.DataSourceConfig.dataSource()] threw exception; nested exception is java.lang.RuntimeException: Fail-fast during pool initialization

Solutions on the web19443

  • de.charite.compbio.exomiser.cli.config.DataSourceConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.charite.compbio.exomiser.cli.config.DataSourceConfig.dataSource()] threw exception; nested exception is java.lang.RuntimeException: Fail-fast during pool initialization
  • 'createDatasource' defined in class path resource [net/rrm/ehour/persistence/datasource/DatasourceConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public
  • ; nested exception is java.lang.RuntimeException: Fail-fast during pool initialization; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [ee/st/running
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connection' defined in class de.charite.compbio.exomiser.cli.config.DataSourceConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.sql.Connection de.charite.compbio.exomiser.cli.config.DataSourceConfig.connection()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class de.charite.compbio.exomiser.cli.config.DataSourceConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.charite.compbio.exomiser.cli.config.DataSourceConfig.dataSource()] threw exception; nested exception is java.lang.RuntimeException: Fail-fast during pool initialization at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:601) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1113) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:505) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:725) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84) at de.charite.compbio.exomiser.cli.Main.setUpApplicationContext(Main.java:117) at de.charite.compbio.exomiser.cli.Main.setup(Main.java:90) at de.charite.compbio.exomiser.cli.Main.run(Main.java:78) at de.charite.compbio.exomiser.cli.Main.main(Main.java:74) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.sql.Connection de.charite.compbio.exomiser.cli.config.DataSourceConfig.connection()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class de.charite.compbio.exomiser.cli.config.DataSourceConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource de.charite.compbio.exomiser.cli.config.DataSourceConfig.dataSource()] threw exception; nested exception is java.lang.RuntimeException: Fail-fast during pool initialization at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:590) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago