org.apache.commons.dbcp.SQLNestedException

tip

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

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

  • Dear Sr, I have detected that with the same configuration that works under Spring 1.2.6/1.2.8 it fails for Spring 2.0cr2, the problem comes with the placeholders for hibernateProperties creating an instance for: org.springframework.orm.hibernate3.LocalSessionFactoryBean NOTE: I know there is a similar bug reported but for Milestone 2. Probably it was partially resolved. I am using this configuraiton: ========================================================================================= <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <description> Configurer that replaces ${...} placeholders with values from properties files </description> <property name="locations"> <list> <value>classpath:applicationContext.properties</value> <value>classpath:templateReportNames.properties</value> </list> </property> </bean> <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean" singleton="true"> <description> Definition of the Hibernate Session Factory, you can add more properties in order to get fine tuning of the Hibernate Session. Here we provide the list of hibernate mapping files. </description> <property name="dataSource"> <ref bean="dataSource"/> </property> <!--Directory location of the *.hbm.xml files--> <property name="mappingDirectoryLocations"> <value>mapping</value> </property> <!--property name="configLocation"> <value>classpath:hibernate.cfg.xml</value> </property--> <property name="hibernateProperties"> <props> <prop key="hibernate.show_sql">${hibernate.show_sql}</prop> <prop key="hibernate.max_fetch_depth">${hibernate.max_fetch_depth}</prop> <prop key="hibernate.generate_statistics">false</prop> <prop key="hibernate.use_sql_comments">false</prop> <prop key="hibernate.dialect">${hibernate.dialect}</prop> <prop key="hibernate.cache.use_query_cache">false</prop> <prop key="hibernate.cache.use_second_level_cache">false</prop> <prop key="hibernate.cache.use_structured_entries">true</prop> <prop key="hibernate.transaction.flush_before_completion">true</prop> </props> </property> </bean> ============================================================================================== and the exception is: ============================================================================================== [2006-49-24 05:49, 3406]ERROR[org.hibernate.util.JDBCExceptionReporter] - <Cannot load JDBC driver class '${db.driverClassName}'> [2006-49-24 05:49, 3406]WARN [org.hibernate.cfg.SettingsFactory] - <Could not obtain connection metadata> org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '${db.driverClassName}' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:871) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:797) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:908) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:875) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:612) at com.schinvest.lra.business.batch.BatchCaller.raiseContext(BatchCaller.java:930) at com.schinvest.lra.business.batch.BatchCaller.loadCommonConfig(BatchCaller.java:361) at com.schinvest.lra.business.batch.BatchCaller.analyzeInputArgs(BatchCaller.java:322) at com.schinvest.lra.business.batch.BatchCaller.main(BatchCaller.java:243) Caused by: java.lang.ClassNotFoundException: ${db/driverClassName} at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760) ... 46 more =========================================================================================== my applicationContext.properties files is: ========================================================================================== #Mon Jul 24 17:03:32 CEST 2006 db.password=dev00 objectPropertiesQuery=SELECT CHILD.ID, CHILD.OBJECT_IDENTITY, CHILD.ACL_CLASS, PARENT.OBJECT_IDENTITY as PARENT_OBJECT_IDENTITY FROM lra_acl_object_identity as CHILD LEFT OUTER JOIN lra_acl_object_identity as PARENT ON CHILD.parent_object\=PARENT.id WHERE CHILD.object_identity \= ? usersByUsernameQuery=SELECT username,password,enabled FROM lra_users WHERE username \= ? db.username=dev authoritiesByUsernameQuery=SELECT username,authority FROM lra_authorities WHERE username \= ? hibernate.cache.use_second_level_cache=true hibernate.show_sql=false hibernate.transaction.flush_before_completion=true lookupPermissionIdQuery=SELECT id FROM lra_acl_permission WHERE lra_acl_object_identity \= ? AND recipient \= ? hibernate.generate_statistics=false aclsByObjectIdentityQuery=SELECT RECIPIENT, MASK FROM lra_acl_permission WHERE acl_object_identity \= ? hibernate.cache.use_query_cache=true hibernate.max_fetch_depth=3 db.driverClassName=org.gjt.mm.mysql.Driver aclObjectIdentityInsertStatement=INSERT INTO lra_acl_object_identity (object_identity, parent_object, acl_class) VALUES (?, ?, ?) db.url=jdbc:mysql://localhost/lra hibernate.use_sql_comments=false aclPermissionInsertStatement=INSERT INTO lra_acl_permission (acl_object_identity, recipient, mask) VALUES (?, ?, ?) aclObjectIdentityDeleteStatement=DELETE FROM lra_acl_object_identity WHERE id \= ? hibernate.cache.use_structured_entries=true hibernate.mappingDirectoryLocations=mapping aclPermissionUpdateStatement=UPDATE lra_acl_permission SET mask \= ? WHERE id \= ? hibernate.dialect=org.hibernate.dialect.MySQLDialect aclPermissionDeleteStatement=DELETE FROM lra_acl_permission WHERE acl_object_identity \= ? AND recipient \= ? ================================================================================================== I don't get this exception under Spring 1.2.8 and 1.2.6 Thanks, David
    via by David Leal Valmaña,
  • Dear Sr, I have detected that with the same configuration that works under Spring 1.2.6/1.2.8 it fails for Spring 2.0cr2, the problem comes with the placeholders for hibernateProperties creating an instance for: org.springframework.orm.hibernate3.LocalSessionFactoryBean NOTE: I know there is a similar bug reported but for Milestone 2. Probably it was partially resolved. I am using this configuraiton: ========================================================================================= <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <description> Configurer that replaces ${...} placeholders with values from properties files </description> <property name="locations"> <list> <value>classpath:applicationContext.properties</value> <value>classpath:templateReportNames.properties</value> </list> </property> </bean> <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean" singleton="true"> <description> Definition of the Hibernate Session Factory, you can add more properties in order to get fine tuning of the Hibernate Session. Here we provide the list of hibernate mapping files. </description> <property name="dataSource"> <ref bean="dataSource"/> </property> <!--Directory location of the *.hbm.xml files--> <property name="mappingDirectoryLocations"> <value>mapping</value> </property> <!--property name="configLocation"> <value>classpath:hibernate.cfg.xml</value> </property--> <property name="hibernateProperties"> <props> <prop key="hibernate.show_sql">${hibernate.show_sql}</prop> <prop key="hibernate.max_fetch_depth">${hibernate.max_fetch_depth}</prop> <prop key="hibernate.generate_statistics">false</prop> <prop key="hibernate.use_sql_comments">false</prop> <prop key="hibernate.dialect">${hibernate.dialect}</prop> <prop key="hibernate.cache.use_query_cache">false</prop> <prop key="hibernate.cache.use_second_level_cache">false</prop> <prop key="hibernate.cache.use_structured_entries">true</prop> <prop key="hibernate.transaction.flush_before_completion">true</prop> </props> </property> </bean> ============================================================================================== and the exception is: ============================================================================================== [2006-49-24 05:49, 3406]ERROR[org.hibernate.util.JDBCExceptionReporter] - <Cannot load JDBC driver class '${db.driverClassName}'> [2006-49-24 05:49, 3406]WARN [org.hibernate.cfg.SettingsFactory] - <Could not obtain connection metadata> org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '${db.driverClassName}' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:871) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:797) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:908) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:875) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:612) at com.schinvest.lra.business.batch.BatchCaller.raiseContext(BatchCaller.java:930) at com.schinvest.lra.business.batch.BatchCaller.loadCommonConfig(BatchCaller.java:361) at com.schinvest.lra.business.batch.BatchCaller.analyzeInputArgs(BatchCaller.java:322) at com.schinvest.lra.business.batch.BatchCaller.main(BatchCaller.java:243) Caused by: java.lang.ClassNotFoundException: ${db/driverClassName} at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760) ... 46 more =========================================================================================== my applicationContext.properties files is: ========================================================================================== #Mon Jul 24 17:03:32 CEST 2006 db.password=dev00 objectPropertiesQuery=SELECT CHILD.ID, CHILD.OBJECT_IDENTITY, CHILD.ACL_CLASS, PARENT.OBJECT_IDENTITY as PARENT_OBJECT_IDENTITY FROM lra_acl_object_identity as CHILD LEFT OUTER JOIN lra_acl_object_identity as PARENT ON CHILD.parent_object\=PARENT.id WHERE CHILD.object_identity \= ? usersByUsernameQuery=SELECT username,password,enabled FROM lra_users WHERE username \= ? db.username=dev authoritiesByUsernameQuery=SELECT username,authority FROM lra_authorities WHERE username \= ? hibernate.cache.use_second_level_cache=true hibernate.show_sql=false hibernate.transaction.flush_before_completion=true lookupPermissionIdQuery=SELECT id FROM lra_acl_permission WHERE lra_acl_object_identity \= ? AND recipient \= ? hibernate.generate_statistics=false aclsByObjectIdentityQuery=SELECT RECIPIENT, MASK FROM lra_acl_permission WHERE acl_object_identity \= ? hibernate.cache.use_query_cache=true hibernate.max_fetch_depth=3 db.driverClassName=org.gjt.mm.mysql.Driver aclObjectIdentityInsertStatement=INSERT INTO lra_acl_object_identity (object_identity, parent_object, acl_class) VALUES (?, ?, ?) db.url=jdbc:mysql://localhost/lra hibernate.use_sql_comments=false aclPermissionInsertStatement=INSERT INTO lra_acl_permission (acl_object_identity, recipient, mask) VALUES (?, ?, ?) aclObjectIdentityDeleteStatement=DELETE FROM lra_acl_object_identity WHERE id \= ? hibernate.cache.use_structured_entries=true hibernate.mappingDirectoryLocations=mapping aclPermissionUpdateStatement=UPDATE lra_acl_permission SET mask \= ? WHERE id \= ? hibernate.dialect=org.hibernate.dialect.MySQLDialect aclPermissionDeleteStatement=DELETE FROM lra_acl_permission WHERE acl_object_identity \= ? AND recipient \= ? ================================================================================================== I don't get this exception under Spring 1.2.8 and 1.2.6 Thanks, David
    via by David Leal Valmaña,
    • org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '${db.driverClassName}' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:871) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:797) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:908) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:875) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:612) at com.schinvest.lra.business.batch.BatchCaller.raiseContext(BatchCaller.java:930) at com.schinvest.lra.business.batch.BatchCaller.loadCommonConfig(BatchCaller.java:361) at com.schinvest.lra.business.batch.BatchCaller.analyzeInputArgs(BatchCaller.java:322) at com.schinvest.lra.business.batch.BatchCaller.main(BatchCaller.java:243) Caused by: java.lang.ClassNotFoundException: ${db/driverClassName} at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760) ... 46 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    SacchiSacchi
    2 times, last one,
    zsambokizsamboki
    1 times, last one,
    309 more bugmates