Re: Documentation

From: Aaron Mulder <ammulder(at)alumni(dot)princeton(dot)edu>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Documentation
Date: 2002-07-22 17:36:46
Message-ID: Pine.LNX.4.44.0207221334120.14302-100000@gentoo.CS.Princeton.EDU
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> this is the error messages
> Exception
> javax.servlet.ServletException: Can't create
> DataSource: org.postgresql.Driver
>
> Root
> javax.servlet.ServletException: Can't create
> DataSource: org.postgresql.Driver

It's probably a class loading exception; whatever is trying to
instantiate the connection can't find the class "org.postgresql.Driver".
Are you sure you have the JDBC driver in your WEB-INF/lib or in the
correct area of the server's class hierarchy?
There's a small chance it could be a ClassCastException, if the
version of the driver you're using is not suited for the version of the
JDK you're using, but I think the former is more likely.

Aaron

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Felipe Schnack 2002-07-22 17:50:26 not implemented
Previous Message fabian_valdes 2002-07-22 17:36:36 Re: Documentation