[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Missing post? - see this post about spam for more information.
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver  XML
Forum Index » J2EE Application Development
Author Message
louve_vix

Newbie

Joined: 02/16/2006 03:51:09
Messages: 1
Offline

Hi

I'm using com.mysql.jdbc.Driver as the driver which is giving me the above error.
The WEB-INF folder contains the lib folder which has 2 files in it: BLABLAmysql-connector-java-3.0.14-production-bin.jar and mysql-connector-java-2.0.14-bin.jar
That WEB-INF folder was put there by our hosting company to make JSP work.
How do I know which driver to use?
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 884
Location: Superior, CO, USA
Online

I'd really advise getting rid of the 2.0.14 file - that is pretty old - August 2002. The current 3.0 release is 3.0.17 but even that has been replaced by 3.1.12 which is the current release. As with so much in the MySQL world there seem to be several versions that are in production at the same time but if you have only those two files to choose from I would go with the 3.0.14 version.

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
 
Forum Index » J2EE Application Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2012 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle