On 27/05/11 10:34, Gerson Galang wrote:
> I had a go at 2.7.1 yesterday but it started complaining about the
> parameter I'm trying to pass to the DataStoreFinder. I just get a null
> value when I instantiate the DataStore.

Do you have an old gt-postgis on your classpath? There is some funny 
logic in gt-jdbc-postgis that gives gt-postgis preference if both are 
present and you use dbtype=postgis (for backwards compatibility). But 
this should not happen if you are using Maven.  :-(

Perhaps the step below might help this too:

> Another weird thing I've noticed is that the CQL.toFilter doesn't throw
> a CQLException anymore on 2.7.1. Even if the documentation states that
> it throws a CQLException, Eclipse just complains about my try-catch
> block not having any statement that throws a CQLException.

Please try:
mvn eclipse:clean eclipse:eclipse
and then refresh and then clean your project in Eclipse. Sometimes 
Eclipse falls down and can't get up.  :-P

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to