Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL 'jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115'
- Line | Method
- ->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 138 | run in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run in ''
- ^ 662 | run . . in java.lang.Thread
- Caused by BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL 'jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115'
- ->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 138 | run in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run in ''
- ^ 662 | run . . in java.lang.Thread
- Caused by BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL 'jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115'
- ->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 138 | run in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run in ''
- ^ 662 | run . . in java.lang.Thread
- Caused by BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL 'jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115'
- ->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 138 | run in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run in ''
- ^ 662 | run . . in java.lang.Thread
- Caused by BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL 'jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115'
- ->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 138 | run in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run in ''
- ^ 662 | run . . in java.lang.Thread
- Caused by MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL 'jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115'
- ->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 138 | run in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run in ''
- ^ 662 | run . . in java.lang.Thread
- Caused by SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL 'jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115'
- ->> 1452 | createConnectionFactory in org.apache.commons.dbcp.BasicDataSource
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 1371 | createDataSource in ''
- | 1044 | getConnection in ''
- | 303 | innerRun in java.util.concurrent.FutureTask$Sync
- | 138 | run . . in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run . . in ''
- ^ 662 | run in java.lang.Thread
- Caused by SQLException: No suitable driver
- ->> 264 | getDriver in java.sql.DriverManager
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- | 1437 | createConnectionFactory in org.apache.commons.dbcp.BasicDataSource
- | 1371 | createDataSource in ''
- | 1044 | getConnection in ''
- | 303 | innerRun in java.util.concurrent.FutureTask$Sync
- | 138 | run in java.util.concurrent.FutureTask
- | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- | 908 | run in ''
- ^ 662 | run . . in java.lang.Thread
- environments {
- development {
- dataSource {
- dbCreate = "create-drop" // one of 'create', 'create-drop', 'update', 'validate', ''
- //url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
- url = "jdbc:db2://localhost:50000/DTH3_E:currentSchema=DFP_V115"
- }
- }
- ....
- dataSource {
- dialect="org.hibernate.dialect.DB2Dialect"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement