[geotk] geotk-referencing and metadata Citations

emmanuel.blondel1 at gmail.com emmanuel.blondel1 at gmail.com
Sun Dec 28 07:53:07 PST 2014


Indeed i didn't have replied yet, but updating the snapshots solved the issue. 

However, i got other issue related to apache sis. I will try to reproduce several times the issue and report.


---- Envoyé avec BlackBerry® d'Orange ----

-----Original Message-----
From: Martin Desruisseaux <martin.desruisseaux at geomatys.fr>
Sender: geotoolkit-bounces at lists.osgeo.org
Date: Sun, 28 Dec 2014 21:21:01 
To: <geotoolkit at lists.osgeo.org>
Subject: Re: [geotk] geotk-referencing and metadata Citations

Hello Emmanuel

I wonder if the problem is a dependency, because of the error message
with rather suggest that the class has been found but its initialization
failed. Is there a "caused by" exception after the reported one?

Alternatively I noticed that when a class initialization fails, the
first usage attempt is a ClassInitializationError (as we would expect)
while all subsequent usage attempts result in ClassNotFoundException. So
if there is other exceptions in addition to this one, the very first
exception may be the most informative one.

However the error is surprising since it occurs in a widely-used method.
I think we should have got many JUnit test failures if they were a
problem there. Maybe they were a problem with downloaded Geotk
artefacts, maybe related to the build issues we had. I would suggest to
try again to build your application with:

mvn clean install --update-snapshots

    Martin


Le 27/12/14 03:22, Emmanuel Blondel a écrit :
> Hi, recently i've switched from Geotk 4.0-M2 to 4.x-SNAPSHOT.
> I've got a problem in retrieving data:
> - it seems the dependency geotk-metadata is missing in
> geotk-referencing dependencies - see http://pastebin.com/jBHRJPJP
> - i've then try to add geotk-metadata module in my pom.xml, but i got
> the same error, and indeed if i look to the maven deps, the Citations
> class is (still) under org.geotoolkit.metadata.iso.citation namespace,
> while the code indicates "org.geotoolkit.metadata" namespace.
>
> Is there anything useful here for fixes?
>
> Thanks in advance
> Emmanuel

_______________________________________________
Geotoolkit mailing list
Geotoolkit at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geotoolkit


More information about the Geotoolkit mailing list