tessen Posted May 3, 2007 Share Posted May 3, 2007 Hi, I am trying to connect to a DB2 database in iReport but I'm having problem with the Classpath. I add the classpath C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/db2jcc.jar then I add a new connection and set the JDBC Driver to COM.ibm.db2.jdbc.app.DB2Driver When I test the connection I get the following error. ClassNotFoundError!Msg: COM.ibm.db2.jdbc.app.DB2DriverThis class may not have been found: COM.ibm.db2.jdbc.app.DB2DriverCheck you classpath. Anyone have any idea what I am doing wrong. Post edited by: tessen, at: 2007/05/03 08:20Post edited by: tessen, at: 2007/05/03 08:22 Link to comment Share on other sites More sharing options...
sarn Posted January 28, 2010 Share Posted January 28, 2010 Hi all, Currently i have the same problem with iReport 3.7.0. Have you found a a solution in the meantime? regardsStefan Link to comment Share on other sites More sharing options...
thota_ravi Posted January 29, 2010 Share Posted January 29, 2010 just change the order,first add jdbc.jar and then your database jar file Link to comment Share on other sites More sharing options...
rosenjiang Posted August 6, 2010 Share Posted August 6, 2010 thota_raviWrote: just change the order,first add jdbc.jar and then your database jar file hi, where is jdbc.jar? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now