That was the hint I needed.  The test/resources was a source folder  
and getting in the way when I ran the shapefile tests.  The  
MockPropertyAccessor Class was getting chosen as the PropertyAccessor  
and was causing errors.  I removed the directory and now it works... I  
wonder if I have to add it again to run Main tests.  Probably.

Jesse


Le 15-Jan-08 à 9:20 AM, Martin Desruisseaux a écrit :

> Jesse Eichar a écrit :
>> If any one knows what might be causing these errors please let me  
>> know
>> because this is making debugging shapefile REALLY hard.  I can't use
>> eclipse to debug the issue.
>
> An error occured while loading PropertyAccessorFactory  
> implementations.
> According the META-INF/services/ 
> org.geotools...PropertyAccessorFactory files,
> there is only two implementations in the main module:
>
>    org.geotools.filter.expression.SimpleFeaturePropertyAccessorFactory
>    org.geotools.filter.expression.DirectPropertyAccessorFactory
>
> In order to determine which one exactly is failing, I suggest to add  
> the
> following line in PropertyAccessors at line 41 (just after Object  
> factory =
> factories.next()):
>
>    System.out.println(factory.getClass());
>
> The factory displayed on stdout have been successfully loaded. The  
> ones in the
> above list that do not appear failed.
>
> As a side note, did we have any "caused by" info in the reported  
> exception?
>
>       Martin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to