Stefan Krüger ha scritto:
> Hi Geotoolers
> Hi Karel
> 
> I just stumbled over a problem i wanted to report. In a maven project i 
> defined 
> the dependencies for gt-postgis and hibernate-spatial. But when used 
> together, 
> i got "unknown type" errors when mapping a Geometry column. (=> hibernate-
> spatial didn't work)

> It showed that the problem are two different artifacts both containing the 
> same 
> postgis JDBC driver.
> 
> Geotools 2.6 pulls in this one:
> http://download.osgeo.org/webdav/geotools/org/geotools/gt-postgis/2.6.2/gt-
> postgis-2.6.2.pom
>> <dependency>
>> <groupId>org.postgis</groupId>
>> <artifactId>postgis-driver</artifactId>

gt-postgis should not be used anymore, we don't maintain it anymore 
since its replacement, gt-jdbc-postgis, has reached maturity.
I keep on forgetting to move it into unsupported land.

gt-jdbc-postgis does not depend on postgis-driver so you won't
get any conflict

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to