wood burning stoves*
The moose likes JDBC and the fly likes no suitable driver found.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "no suitable driver found.." Watch "no suitable driver found.." New topic
Author

no suitable driver found..

Lesole Mphinyane
Ranch Hand

Joined: Oct 07, 2006
Posts: 42
hey all, um trying to connect to MS access database and i get the following error;

Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbcdbc.gbcTVsurveySystem
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at SimpleJdbc.main(SimpleJdbc.java:16)
check my code here';
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
jdbc:odbc.gbcTVsurveySystem

It seems you mistyped that. See http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html for how JDBC ODBC URLs look like.


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: no suitable driver found..
 
Similar Threads
How do I use Oracle's thin Driver ?
jdbc:odbc DSN less connection for SQL Server
java.sql.SQLException: No suitable driver
Establishing Connection to MS Access Databases
Connecting to DB Error