File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes No suitable driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

No suitable driver

Hugh Savoie

Joined: Oct 16, 2001
Posts: 14
I hope someone can help me!
I'm running windows 2000 pro.
I'm trying to learn about jsp and servlets and have installed Visual age, IBM db2 and wepshere on my computer. Everything was going good then I installed Microsoft server 7 now I cannot connect to my database with any of my servlets. All I get is the following error.
"SQL Error java.sql.SQLException: No suitable driver"
Even in sql 7 I cannot connect to my database I have removed sql 7 but it is the same.
also I'm using the wepshpere test environment in Visual 4.0 and have a local host set up.
[ February 05, 2002: Message edited by: Hugh Savoie ]
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9056
Please do not cross-post. Most people here read more than one forum, just like you.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
It is sorta covered in the JavaRanch Style Guide.
subject: No suitable driver
It's not a secret anymore!