Hi,
I'm trying to migrate an RCP client to Java 11. All good so far only
the webservice which was part of Java 8 refused to start with an
sun.xml.internal.ws.spi.ProviderImpl exception.
Exception:
Caused by: javax.xml.ws.WebServiceException: Provider
com.sun.xml.internal.ws.spi.ProviderImpl not f
:00) An: Equinox
development mailing list Betreff: [equinox-dev] OSGi
and javax.jws.WebService with Java 11 Hi,I'm trying to migrate an RCP client to
Java 11. All good so far onlythe webservice which was part of Java 8 refused to
start with ansun.xml.internal.ws.spi.Provide
Hi Lars,
The stack trace above leads me to hypothesis that the Java ServiceLoader
pattern is used. There are multiple ways to make it work but both require
providing proper OSGi metadata, i.e. the Maven PDE/M2E stuff is not
sophisticated enough to provide good OSGi metadata out of the box. IMO
> the Maven PDE/M2E stuff is not sophisticated enough to provide good
OSGi metadata out of the box
> IMO it can only be used for "simple" jars (not doing any fancy class
loading stuff)
the user can always tweak the BND instructions, it should even possible
to supply fragment-host headers there
> USt-Id DE310002614
>
>
> Ursprüngliche Nachricht
> Von: Lars Vogel
> Datum: 06.05.21 15:15 (GMT+01:00)
> An: Equinox development mailing list
> Betreff: [equinox-dev] OSGi and javax.jws.WebService with Java 11
>
> Hi,
>
> I'm try
9> USt-Id DE310002614>>> Ursprüngliche
Nachricht > Von: Lars Vogel > Datum: 06.05.21
15:15 (GMT+01:00)> An: Equinox development mailing list
> Betreff: [equinox-dev] OSGi and javax.jws.WebService
with Java 11>> Hi,>> I'm trying
07745 Jena
> Germany
>
> Geschäftsführer/CEO
> Mark Hoffmann
> Jürgen Albert
>
> Jena HRB 513025
> Steuernummer 162/107/05779
> USt-Id DE310002614
>
>
> Ursprüngliche Nachricht ----
> Von: Lars Vogel
> Datum: 06.05.21 18:02 (GMT+01:00)
> An: Equi
Nachricht Von: Lars Vogel
Datum: 07.05.21 12:44 (GMT+01:00) An: Equinox
development mailing list Betreff: Re: [equinox-dev]
OSGi and javax.jws.WebService with Java 11 Hi Mark,thanks. The additional
fragment was indeed necessary. I added it andnow it complains about the JaxB
ena
> Germany
>
> Geschäftsführer/CEO
> Mark Hoffmann
> Jürgen Albert
>
> Jena HRB 513025
> Steuernummer 162/107/05779
> USt-Id DE310002614
>
>
> ---- Ursprüngliche Nachricht ----
> Von: Lars Vogel
> Datum: 07.05.21 12:44 (GMT+01:00)
> An: Equino