<HTML><HEAD>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hello Martin!</DIV>
<DIV>I use JDK 1.8.0_71. </DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A 
title=martin.desruisseaux@geomatys.com 
href="mailto:martin.desruisseaux@geomatys.com">Martin Desruisseaux</A> </DIV>
<DIV><B>Sent:</B> Friday, May 24, 2019 3:26 PM</DIV>
<DIV><B>To:</B> <A title=geotoolkit@lists.osgeo.org 
href="mailto:geotoolkit@lists.osgeo.org">geotoolkit@lists.osgeo.org</A> </DIV>
<DIV><B>Subject:</B> Re: [geotk] GML Marshaller</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV class=moz-cite-prefix>
<P>Hello Natallia</P>
<P>Sorry for the late reply.<BR></P>
<P>Le 22/05/2019 à 12:56, Пузова Н.В. a écrit :</P></DIV>
<BLOCKQUOTE cite=mid:D86D9094157941C0B41F37A0C4851A5D@WS4042B06 type="cite">
  <DIV dir=ltr>
  <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">How can I 
  use geotoolskit to marshall GML elements? I try this code (as test code from 
  source GmlXMLBindingTest.java): 
  <DIV> </DIV>
  <DIV>MarshallerPool  pool =  GMLMarshallerPool.getInstance(); - I 
  get an exception in this line</DIV>
  <DIV>...</DIV>
  <DIV>Exception in thread "main" java.lang.AssertionError: 
  javax.xml.bind.JAXBException: Provider 
  com.sun.xml.internal.bind.v2.ContextFactory could not be 
  instantiated<BR></DIV></DIV></DIV></BLOCKQUOTE>
<P>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).</P>
<P>    Regards,</P>
<P>        Martin</P>
<P> </P>
<P>
<HR>
_______________________________________________<BR>Geotoolkit mailing 
list<BR>Geotoolkit@lists.osgeo.org<BR>https://lists.osgeo.org/mailman/listinfo/geotoolkit</DIV></DIV></DIV></BODY></HTML>