[postgis-users] RE: RE: RE: PostGIS - hibernate - EJB3
Markus Schaber
schabi at logix-tt.com
Sat Nov 25 01:15:51 PST 2006
Hi,
Norman Barker wrote:
> 2. In the thread here, people are using:
> <driver-class>org.postgis.DriverWrapper</driver-class>
> When I do the same, I get a "No suitable driver" exception.
[...]
> 3. I wanted to use the GeometryType that is packed in PostGIS 1.1.5.
> After generating the new JAR and replacing the old one by this one,
> I start getting new exceptions:
> The class org.postgis.PGbox3d does not implement
> org.postgresql.util.PGobject.
Those 2 things look like a classpath/classloader problem.
You have to make sure that the postgis.jar and the postgresql-jdbc.jar
are available via the same classloader (and that you don't have two
incarnations of them in your classpath)
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
More information about the postgis-users
mailing list