<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<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 type="cite"
cite="mid:D86D9094157941C0B41F37A0C4851A5D@WS4042B06">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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><br>
</p>
</body>
</html>