Trouble exporting an application with the Eclipse Product Export Wizard (Windows) [message #689886] |
Tue, 28 June 2011 10:42  |
Eclipse User |
|
|
|
Hello,
I am having trouble exporting an application with the Eclipse Product Export Wizard. I defined my own IApplication (de.emsw.gosa.product.etisch.ETischApplication) to be started. This Application uses a Service (de.emsw.gosa.klassik.service.IGosaKlassikService) which is defined with DS in another bundle. This works fine in the PDE but when I export the application and start the EXE (Winows XP) I get the following exception written to the log:
java.lang.NoClassDefFoundError: de/emsw/gosa/klassik/service/IGosaKlassikService
at de.emsw.gosa.product.etisch.ETischApplication.start(ETischApplication.java:38) ~[na:na]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_24]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_24]
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) ~[org.eclipse.equinox.launcher_1.2.0.v20110502.jar:na]
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) ~[org.eclipse.equinox.launcher_1.2.0.v20110502.jar:na]
at org.eclipse.equinox.launcher.Main.run(Main.java:1410) ~[org.eclipse.equinox.launcher_1.2.0.v20110502.jar:na]
Caused by: java.lang.ClassNotFoundException: de.emsw.gosa.klassik.service.IGosaKlassikService
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) ~[na:na]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) ~[na:na]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) ~[na:na]
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) ~[na:na]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.6.0_24]
... 13 common frames omitted
I am wondering why I get an NoClassDefFoundError since the service-bundle is correctly required in the manifest.mf of the the app-bundle and the interface (IGosaKlassikService) is provided as an exported package in the service-bundle.
Any help is greatly appreciated.
Regards
Christoph
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06640 seconds