Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

no suitable driver found..

 
Lesole Mphinyane
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic