[postgis-users] RE: RE: RE: PostGIS - hibernate - EJB3

Jan Syryn jan.syryn at trasys.be
Mon Nov 27 02:46:50 PST 2006


Thanks Markus for responding.
In the meantime I found the same answer you are suggesting elsewhere:
http://postgis.refractions.net/pipermail/postgis-users/2005-March/007153.htm
l

I just pass it, so other might be helped by it too. 

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Markus
Schaber
Sent: samedi 25 novembre 2006 10:16
To: PostGIS Users Discussion
Subject: Re: [postgis-users] RE: RE: RE: PostGIS - hibernate - EJB3

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 _______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list