All pastes #980766 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-04-11 07:39 UTC
rendered paste body
Exception in thread "Thread-2" java.lang.NoClassDefFoundError: *** Class 'com.sun.xml.internal.ws.api.message.Header' was not found because bundle 1 does not import 'com.sun.xml.internal.ws.api.message' even though bundle 0 does export it. Additionally, the class is also available from the system class loader. There are two fixes: 1) Add an import for 'com.sun.xml.internal.ws.api.message' to bundle 1; imports are necessary for each class directly touched by bundle code or indirectly touched, such as super classes if their methods are used. 2) Add package 'com.sun.xml.internal.ws.api.message' to the 'org.osgi.framework.bootdelegation' property; a library or VM bug can cause classes to be loaded by the wrong class loader. The first approach is preferable for preserving modularity. ***
        at $Proxy29.<clinit>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:588)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:546)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:292)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:274)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:267)
        at javax.xml.ws.Service.getPort(Service.java:92)
        at nl.prifes.printer.log.PrifesPrinterService.getPrifesPrinterPort(PrifesPrinterService.java:56)
        at nl.prifes.printer.log.Activator$1.run(Activator.java:25)