[geotk] GML Marshaller

Martin Desruisseaux martin.desruisseaux at geomatys.com
Fri May 24 05:26:12 PDT 2019


Hello Natallia

Sorry for the late reply.

Le 22/05/2019 à 12:56, Пузова Н.В. a écrit :

> How can I use geotoolskit to marshall GML elements? I try this code
> (as test code from source GmlXMLBindingTest.java):
>  
> MarshallerPool  pool =  GMLMarshallerPool.getInstance(); - I get an
> exception in this line
> ...
> Exception in thread "main" java.lang.AssertionError:
> javax.xml.bind.JAXBException: Provider
> com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated

I just tried and did not got the exception. Which Java version do you
use? Geotk is still targeting Java 8 and is known to have compatibility
problem with more recent Java version (this is a problem we still need
to fix).

    Regards,

        Martin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20190524/64368b7f/attachment.html>


More information about the Geotoolkit mailing list