[1/30/15 10:03:27:613 EST] 0000001f
SystemErr R java.lang.ClassNotFoundException:
com.ibm.db2.jcc.DB2Driver
[1/30/15 10:03:27:613 EST] 0000001f
SystemErr R at java.lang.Class.forNameImpl(Native Method)
The above error is pretty common when configuring a DB2 driver and trying to establish a connection. Although you many connect to the DB in some circumstances, you might get a runtime error at Class loader time when the Driver is unable to load even when you have that driver jar in your build path.
Solution:
Place the jar files below in the location specified below.
- Db2jcc.jar
- Db2jcc4.jar
- Db2jcc_license_cu.jar
PATH:
C:\Program Files
(x86)\IBM\SDP\runtimes\base_v7\lib
No comments:
Post a Comment