NO SUITABLE DRIVER

28 views
Skip to first unread message

taysay

unread,
Nov 29, 2008, 2:10:09 PM11/29/08
to H2 Database
Hi All,
Pls I am having an issue while trying to run a jboss seam
application with a H2 db it tells me NO SUITABLE DRIVER this
usually happens when I am using my macBook which runs on mac os x
leopard (intel based). This is strange to me as this doesnt happen
when I ma running this same applicationn on windows vista, pls can
anyone offer any help? I will really appreciate this . Thank you so
very much.

Have a lovely day
taysay

Thomas Mueller

unread,
Dec 1, 2008, 1:33:48 PM12/1/08
to h2-da...@googlegroups.com
Hi,

> application with a H2 db it tells me NO SUITABLE DRIVER

You probably don't have the h2*.jar file in your class path. Could you
check if the jar file is in the class path by calling
Class.forName("org.h2.Driver"); in your application?

Regards,
Thomas

taysay

unread,
Dec 3, 2008, 2:07:59 AM12/3/08
to H2 Database
Hi Thomas,
Thank you so very much for ur reply, the issue is that I am working
on jboss seam via netbeans which usually does most of ur config all
you need do is specify the components you want plugged in , so I like
i said it works just fine on windows vista, but has this issue
on mac os x leopard, however I will see how i can call Class.forName
("org.h2.Driver"); then get back to u. Have a wonderful day.
On Dec 1, 10:33 am, "Thomas Mueller" <thomas.tom.muel...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages