org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '${db.driverClassName}'

Spring JIRA | David Leal Valmaña | 1 decade ago
  1. 0

    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

    Spring JIRA | 1 decade ago | David Leal Valmaña
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '${db.driverClassName}'
  2. 0

    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

    Spring JIRA | 1 decade ago | David Leal Valmaña
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '${db.driverClassName}'
  3. 0

    Flex 4 + Spring3 + Hibernate + MySQL5 configuration

    Stack Overflow | 6 years ago | hairyone
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.hsqldb.jdbcDriver ClassNotFoundException while running junit test for a method

    Stack Overflow | 6 years ago | Chitresh
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'
  6. 0

    Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

    Stack Overflow | 5 years ago | aun
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

  1. gehel 1 times, last 5 days ago
  2. davidvanlaatum 3 times, last 5 days ago
  3. danleyb2Interintel 1 times, last 1 week ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. Kialandei 1 times, last 2 weeks ago
49 more registered users
46 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. java.lang.ClassNotFoundException

    ${db/driverClassName}

    at java.lang.Class.forName0()
  2. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:141)
    2 frames
  3. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
    2. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
    2 frames
  4. Hibernate
    LocalDataSourceConnectionProvider.getConnection
    1. org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
    1 frame
  5. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
    2. org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)
    3. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216)
    3 frames
  6. Hibernate
    LocalSessionFactoryBean.afterPropertiesSet
    1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:871)
    2. org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:797)
    2 frames
  7. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:908)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:875)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240)
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153)
    8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225)
    9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114)
    10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801)
    11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592)
    12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392)
    13. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240)
    14. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132)
    15. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
    16. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153)
    17. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225)
    18. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114)
    19. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801)
    20. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592)
    21. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392)
    22. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240)
    23. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132)
    24. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
    25. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153)
    26. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:225)
    27. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114)
    28. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801)
    29. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:592)
    30. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:392)
    31. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240)
    32. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:132)
    33. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237)
    34. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:153)
    34 frames
  8. Spring Context
    AbstractApplicationContext.getBean
    1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:612)
    1 frame
  9. com.schinvest.lra
    BatchCaller.main
    1. com.schinvest.lra.business.batch.BatchCaller.raiseContext(BatchCaller.java:930)
    2. com.schinvest.lra.business.batch.BatchCaller.loadCommonConfig(BatchCaller.java:361)
    3. com.schinvest.lra.business.batch.BatchCaller.analyzeInputArgs(BatchCaller.java:322)
    4. com.schinvest.lra.business.batch.BatchCaller.main(BatchCaller.java:243)
    4 frames