Re: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Posted by: Veeresh Karnik
Date: February 17, 2007 07:33AM

Wei Chen Wrote:
-------------------------------------------------------
> Please try to drop the mySQL driver into the lib
> directory (might not be only one place), or list
> the driver in the classpath. and restart the
> server.
>
> Good luck.

Dear Wei Chen,
I am a new student pls guide me where to drop the mySQL Driver in netbeans or mysql. My path for netbeans is - -C:\Program Files\netbeans-5.0
and for mysql - C:\Program Files\MySQL\MySQL Server 5.0C:\Program Files\MySQL\MySQL Server 5.0

I have netbeans 5.0 and mysql 5.0

Which is the suitable driver i should use ? I have tried using com.mysql.jdbc.Driver and org.gjt.mm.mysql.Driver

In both the cases I could manipulate the database through steps
Runtime->Drivers->connect->Execute Command

But from .jsp i am able to view the table content but not able to add through jsp file.

Can you suggest solution ?

Thanks in advance.

Veeresh Karnik.

Options: ReplyQuote


Subject
Written By
Posted
Re: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
February 17, 2007 07:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.