<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Sunny<br>
<br>
We are working on making Geotk compatible with OSGi right now. We
hope to be able to start committing to the code repository in one or
two weeks. In the meantime, it is hard to workaround this issue in a
OSGi environment right now. Even after solving this
com.sun.xml.internal.bind.marshaller issue by exporting them
explicitly, there is other issues coming after.<br>
<br>
About the usage of com.sun.xml.internal.bind.marshaller, I agree
that we should not use it. Unfortunately this particular class is in
wide use, has no clear replacement in public API right now, and is
even officially documented as a JAXB extension:<br>
<br>
<a class="moz-txt-link-freetext" href="https://jaxb.java.net/nonav/2.2.11/docs/ch05.html#prefixmapper">https://jaxb.java.net/nonav/2.2.11/docs/ch05.html#prefixmapper</a><br>
<br>
But I agree that we will need to find how to do the same thing with
public API. If you are aware of any indication, that would be nice.<br>
<br>
Martin<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 17/03/15 23:05, Little, Sunny L (US
SSA) a écrit :<br>
</div>
<blockquote cite="mid:20150318150642.246448741@lists.osgeo.org"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">I’m using the geotk-xml-wmts artifact in
my service, version 4.0-M3.<o:p></o:p></p>
<p class="MsoNormal">Everything compiles just fine but after I
deploy my service I get a runtime error for a missing
requirement on:<o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:red">com.sun.xml.internal.bind.marshaller<o:p></o:p></span></b></p>
<p class="MsoNormal">in the <o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:red">sis-utility-0.5-jdk7.jar<o:p></o:p></span></b></p>
<p class="MsoNormal">dependency.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m deploying my service in an OSGI
environment. I do notice that the manifest for the
sis-utility jar does expect to import
com.sun.xml.internal.bind.marshaller.<o:p></o:p></p>
<p class="MsoNormal">I however, cannot find which artifact
exports it and would think that an internal class should not
be referenced here anyway.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Do you have any suggestions on how to
resolve this issue? <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Sunny Little<o:p></o:p></p>
</div>
</blockquote>
<br>
</body>
</html>