I have tried what you suggested.
This time it came back with the following:
java.lang.LinkageError: ClassCastException: attempting to
castbundleresource://50/javax/xml/ws/spi/Provider.classtojar:file:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/rt.jar!/javax/xml/ws/spi/Provider.class
at javax.xml.ws.spi.Provider.provider(Provider.java:94)
at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
at
org.example.pubsubclient.NavigationView.startServer(NavigationView.java:101)
at
org.example.pubsubclient.NavigationView$1.widgetSelected(NavigationView.java:45)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.example.pubsubclient.Application.start(Application.java:20)
...
my jvm runs with -verbose:class
I found in the log the following:
[Loaded javax.xml.ws.spi.Provider from
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/rt.jar]
[Loaded javax.xml.ws.spi.FactoryFinder from
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/rt.jar]
[Loaded java.lang.Package$1 from
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/rt.jar]
[Loaded java.util.zip.ZipInputStream from
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/rt.jar]
[Loaded java.util.jar.JarInputStream from
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/rt.jar]
[Loaded javax.xml.ws.spi.Provider from
file:/home/rejap/w34/cxf-plus-dep-java5/]
[Loaded org.apache.cxf.jaxws.spi.ProviderImpl from
file:/home/rejap/w34/cxf-plus-dep-java5/]
--Pawel
dkulp wrote:
>
>
> This stack trace shows that it's picking up and using the builtin JAXWS
> implementation instead of CXF. It looks like your plugin isn't getting
> the
> CXF classes at all.
>
> In particular, it's not finding the
> META-INF/services/javax.xml.ws.spi.Provider
> file that would point at CXF. You MAY need to copy that file out of the
> cxf
> jar into your plugin to make the osgi stuff in eclipse happy.
>
> Dan
>
> --
> Daniel Kulp
> [email protected]
> http://dankulp.com/blog
>
>
--
View this message in context:
http://www.nabble.com/eclipse-rcp-cxf-provider-tp21729211p21737677.html
Sent from the cxf-user mailing list archive at Nabble.com.