2 messages in com.mysql.lists.javaClasspath??
FromSent OnAttachments
gtay...@mdi.net12 Apr 2000 11:04 
Fred Doddridge12 Apr 2000 12:01 
Subject:Classpath??
From:gtay...@mdi.net (gtay@mdi.net)
Date:04/12/2000 11:04:35 AM
List:com.mysql.lists.java

Hi all,

I got the "Exception in thread "main" java.lang.NoClassDefFoundError: Test/class" error message, read the mailing list responses and added "." to my classpath and all worked. Then I made a change to the program and now get the error again.

My CLASSPATH is: CLASSPATH=/usr3/java2/mm.mysql.jdbc-2.0pre4:.

The test program is: import java.sql.*;

public class Test { public static void main(String[] Args) { try { Class.forName("org.gjt.mm.mysql.Driver").newInstance(); System.out.println("Driver loaded."); } catch (Exception E) { System.err.println("Unable to load driver."); E.printStackTrace(); } } }

Why can't I get past the NoClassDefFound error??

Thanks

George