This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 199363 - com.mysql.jdbc.Driver error in 7.0
Summary: com.mysql.jdbc.Driver error in 7.0
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-12 06:58 UTC by Koushik_The_Geek
Modified: 2012-10-06 22:17 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
JDBC Codes and Error (1.52 KB, text/plain)
2011-06-12 06:59 UTC, Koushik_The_Geek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koushik_The_Geek 2011-06-12 06:58:16 UTC
Hi, I have recently upgraded to NetBeans 7.0 from 6.8. In 6.8 the same program is running without any error, but in 7.0 it is showing error in mysql connector/j driver whereas I have downloaded the latest driver i.e.  mysql-connector-java-5.1.16. it is showing Class.forName(Driver) error as ClassNotFoundException as the driver I have added is com.mysql.jdbc.Driver.
Please help..

I have attached the Following codes and error.

Thanks and Regards'

Koushik Dutta
School of Information Technology
ICFAI University
India
Comment 1 Koushik_The_Geek 2011-06-12 06:59:24 UTC
Created attachment 108862 [details]
JDBC Codes and Error
Comment 2 matthias42 2012-10-06 22:17:07 UTC
You need to add the driver jar as a dependency of the project your creating.

This is not a bug in the database module of netbeans.