Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Cannot start as Webstart app...missing class DelegatingURLClassLoader


I recently download the latest eclipse SDK (eclipse-SDK-N20040311-win32.zip) to update my jar files (boot.jar, runtime.jar, swt.jar,...).  I noticed that the boot.jar is now empty.  So I replaced my current boot.jar (from eclipse 5.1) which is about 93Kb with the new empty boot.jar.    My swt application runs fine locally, but when I tried running it as a web start application the application would not start and I got the following exception:

java.lang.NoClassDefFoundError: org/eclipse/core/internal/boot/DelegatingURLClassLoader
        at org.eclipse.core.runtime.Platform.run(Platform.java:413)
        at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1285)
        at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:499)
        at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:436)
        at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:870)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:810)
        at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:868)
        at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:830)
        at org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:403)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)
        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1004)
        at com.oreillyauto.ria.screen.models.Screen.createTable(Screen.java:107)
        at com.oreillyauto.ria.screen.models.Screen.createContents(Screen.java:154)
        at com.oreillyauto.ria.command.DefaultController.changeScreen(DefaultController.java:193)
        at com.oreillyauto.ria.MainWindow.createContents(MainWindow.java:44)
        at org.eclipse.jface.window.Window.create(Window.java:350)
        at org.eclipse.jface.window.Window.open(Window.java:623)
        at com.oreillyauto.ria.MainWindow.main(MainWindow.java:89)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
        at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
        at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

The DelegatingURLClassLoader is in the old boot.jar but I cannot find it in any of the current jar files.  So now in order to get my application to run as a webstart application I had to revert back to the old boot.jar from eclipse 5.1.  I was wondering if using the old boot.jar will conflict with some of the classes in runtime.jar.   I would like to keep all my jars at the same version but this exception is keeping me from doing so.

Robert Johnson
Oreilly Automotive, Inc.
Information Systems - Internet Team
417-862-2674 x1878

Back to the top