| Author |
Exception while connecting to DB2 from Hibernate with RAD 7
|
echarish Kumar
Ranch Hand
Joined: Feb 02, 2010
Posts: 42
|
|
i am developing an application with hibernate and DB2 AS400 while connecting to DB with application i get this exception please help.
ContextLoader E org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securitySessionFactory' defined in class path resource [applicationContext-security.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Error while defining class: com.ibm.as400.access.AS400JDBCConnection
This error indicates that the class: Error while defining class: com.ibm.as400.access.ToolboxWrapper
This error indicates that the class: java.sql.Wrapper
could not be located while defining the class: com.ibm.as400.access.ToolboxWrapper
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
*** indicates classloader where the missing class could have been found
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
A classpath issue may be.
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
 |
|
|
subject: Exception while connecting to DB2 from Hibernate with RAD 7
|
|
|