db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siddharth srivastava <akssps...@gmail.com>
Subject Re: Cannot get a Derby connection in eclipse
Date Mon, 19 Dec 2011 06:02:09 GMT
Hi
results in
>
> java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at java.lang.Class.forName0(Native Method)
>

Have you setup your classpath correctly ?
Seems that you haven't added the jars properly.
For a list of which jars need to be added have a look at:
http://wiki.apache.org/db-derby/siddharthsrivastava/QuickStartGuide_NewDevelopers#Getting_Started

-- 
Regards
Siddharth Srivastava

Mime
View raw message