Hello Emmanuel

We changed recently the Geotk dependency from "0.5-jdk7-SNAPSHOT" to
"0.5-jdk7" in an effort to increase stability. We do not have any tag
for "0.5-jdk7" since this is not an official Apache SIS release - it was
supposed to be only for development work, but admittedly Geotk depends
strongly on it. We will try to fix this issue by switching Geotk to the
official Apache SIS releases when we will have enough functionalities
ported to SIS.

In the meantime, if you have a local checkout of Geotk, would it be
possible to try the following?

  * Open the Geotk root pom.xml
  * Search the <sis.version>0.5-jdk7</sis.version> line
  * Replace the version number by 0.6-jdk7-SNAPSHOT
  * run "mvn clean install"


Please let us know if you have any issue. We will try to think tomorrow
about how we can get a better stability than having Geotk to depend on
SIS snaphots. One possibility we are thinking about is to use the
snapshot timestamps.

I will post more news about this issue tomorrow. Sorry for the
inconvenience...

    Martin


Le 23/02/15 15:06, Emmanuel Blondel a écrit :
> Hi Martin,
>
> Thanks for this. I've tested using the code modified with the patch.
> Since i was relying on Geotk 4.x-SNAPSHOT, i was using
> 0.5-jdk7-SNAPSHOT, which i've excluded as maven dep to use the built
> jar sis-utility
>
> Since i'm producing metadata using information retrieved from a WFS
> data, see the log i get (dealing with JAXB feature type stuff)..
> I'm not sure if i'm using well these new deps, should i use all apache
> sis 0.5 deps? or only sis-utility should work?
>
> Exception in thread "main" java.lang.NoSuchFieldError: NAMES
>     at
> org.geotoolkit.feature.type.DefaultName.<init>(DefaultName.java:103)
>     at org.geotoolkit.feature.type.DefaultName.<init>(DefaultName.java:89)
>     at org.geotoolkit.feature.xml.Utils.<clinit>(Utils.java:88)
>     at
> org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:416)
>     at
> org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.getAllFeatureTypeFromSchema(JAXBFeatureTypeReader.java:404)
>     at
> org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.read(JAXBFeatureTypeReader.java:310)
>     at
> org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.read(JAXBFeatureTypeReader.java:248)

Reply via email to