Hi Dennis,

I'm not familiar with Scott Klement's JDBC driver, and I'm a little confused by the implication that his (or any custom) driver is in jt400.jar. Regardless, the thing to note is that you are getting a No *ClassDef* Found error, not a ClassNotFoundException.

The javadocs for NoClassDefFoundError say: "The searched-for class definition existed when the currently executing
class was compiled, but the definition can no longer be found. " I'll refer you to:


for more information (also read the responses,) but the first thing I would check is if another jt400.jar exists on the classpath, like maybe /qibm/proddata/OS400/jt400/lib. Boot classpath trumps the extension path.


Joe Sam

Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400

----- Original Message ----- From: <DennisRootes@xxxxxxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Wednesday, November 07, 2007 9:27 PM
Subject: Java class not found but it's in the default path?

I was trying out Scott Klement's JDBC driver and I can't get it to work.
It keeps giving me this error:

java.lang.NoClassDefFoundError: com/ibm/as400/access/AS400JDBCDriver/class

java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)

I placed the jt400.jar in the path /QIBM/UserData/Java400/ext/ just like I
did the HSSF jar files, (which work great! Thanks Scott!),
but it keeps saying it can't find the class. Any suggestions? Please! =)

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.