|
From: Zelaine F. <zf...@lu...> - 2008-06-10 17:43:36
|
Are you sure luciddb/plugin/LucidDbClient.jar is in your classpath?
-- Zelaine
David W wrote:
> Hi,
>
>
>
> I am using a Java code to access the LucidDB on a same machine.
>
>
>
> Here is the code.
>
>
>
> String url = "jdbc:luciddb:rmi://host56";
>
>
> try {
> Class.forName("com.lucidera.jdbc.LucidDbRmiDriver");
> }catch(Exception ex){
>
> System.out.println("Failed to load JDBC driver.");
>
> ex.printStackTrace();
> return;
> }
>
> When running this code I got
>
> [dwang@host53 bulk_load_test]$ java FetchUdx
> Failed to load JDBC/ODBC driver.
> java.lang.ClassNotFoundException: com.lucidera.jdbc.LucidDbRmiDriver
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:164)
> at FetchUdx.main(FetchUdx.java:181)
> [dwang@host53 bulk_load_test]$
>
> Any suggestions!
>
>
>
> Thanks!
>
>
>
> David
>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> luciddb-users mailing list
> luc...@li...
> https://lists.sourceforge.net/lists/listinfo/luciddb-users
|