My Oracle Support Banner

java.lang.ClassNotFoundException: Cannot load driver: (Doc ID 1431921.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2013***


While trying to create a DB2 connection using the IBM driver, WebLogic Server 12.1.1 throws the following error:

<BEA-240003> <Administration Console encountered the following error: java.lang.ClassNotFoundException: Cannot load driver:
at weblogic.jdbc.common.internal.DataSourceUtil.testConnection(
at com.bea.console.utils.jdbc.JDBCUtils.testConnection(
at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.