ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
843859Aug 30 2009 — edited Nov 20 2014Hi friends,
I am doing Exercise basic JDBC functions with a single table
I have started the Java db and it is running fine with message "Server is ready to accept connection on port 1527"
Added Java DB client driver to the classpath by adding the derbyclient.jar from the following location
c:\Program files\glassfish-v2.1\javadb\lib\derbyclient.jar
But I am getting this error when I try to run this
ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
SQLException: No suitable driver found for jdbc:derby://localhost:1527/sample
I done the troubleshoot according to the javapassion tutorial by restart the db server but error is still there.
I am new to this, please any one know where i m doing wrong.