[geotk] Problem with XML marshalling

Emmanuel Blondel emmanuel.blondel1 at gmail.com
Fri Nov 2 02:36:39 PDT 2012


  Now i know where was the problem.
The fact is that i'm also using GeoTools. And t seems there was a 
conflict with the gt-opengis library...To test, i've excluded this 
dependency, and it works fine.

Le 02/11/2012 10:15, Emmanuel Blondel a écrit :
> Thanks Martin for your prompt answer, I had a look to the maven 
> dependencies, but only one geoapi-pending jar is listed 
> (geoapi-pending-3.1-SNAPSHOT).
> Both geotk-referencing and geotk-metadata depend on it according to 
> the Dependency Hierarchy.
>
>
> Le 02/11/2012 09:56, Martin Desruisseaux a écrit :
>> Hello Emmanuel, and welcome!
>>
>>
>> Le 02/11/12 17:52, Emmanuel Blondel a écrit :
>>> Exception in thread "main" java.lang.NoSuchMethodError: 
>>> org.opengis.util.CodeList.names()[Ljava/lang/String;
>>
>> The version of the geoapi-pending.jar file on the classpath is 
>> probably not the expected one. Maybe you have two GeoAPI versions on 
>> the classpath?
>>
>>     Martin
>>
>> _______________________________________________
>> Geotoolkit mailing list
>> Geotoolkit at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geotoolkit


More information about the Geotoolkit mailing list