|
From: David W <dav...@ya...> - 2008-06-10 20:00:18
|
Hi Zelaine,
Can you help me again? I have added luciddb/plugin/LucidDbClient.jar is in my classpath but I got the following errror.
Exception in thread "main" java.lang.NoClassDefFoundError: FetchData.
I checked Java1.5 Website and found it is "The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found. ".
Following is my code.
String url = "jdbc:luciddb:rmi://host53";
try {
Class.forName("com.lucidera.jdbc.LucidDbRmiDriver");
}catch(Exception ex){
System.out.println("Failed to load JDBC driver.");
ex.printStackTrace();
return;
}
try {
// open Lucid DB
conn = DriverManager.getConnection(url, "sa", "");
stmt = conn.createStatement();
// check if the schema
ps = conn.prepareStatement("select SCHEMA_NAME from SYS_ROOT.DBA_TABLES where SCHEMA_NAME = 'TALOGGER'");
.........
Thanks for your reply!
David
|