Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » NoClassDefFoundError In SWT Display Event Loop
NoClassDefFoundError In SWT Display Event Loop [message #448535] Tue, 11 January 2005 18:27
Dan Florian is currently offline Dan FlorianFriend
Messages: 8
Registered: July 2009
Junior Member
I believe the error below is coming from a call to a native method.
Possibly an event returning this type of object. I'm using JACOB, the Java
COM bridge as the communication between my plugin and another windows
application. I have a JACOB plugin that is exporting the jacob.jar. My
plugin has added this JACOB plugin as a dependency. I've added the JACOB
dll to the system PATH variable.

Should I also add the jacob.jar to the System CLASSPATH or added to the
bootstrapclasspath somehow so that the Display loop can construct this
class?

Thanks.

java.lang.NoClassDefFoundError: com/jacob/com/Variant
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:14 73)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Previous Topic:Adding a control to a composite
Next Topic:SWT_AWT focus problem
Goto Forum:
  


Current Time: Thu Apr 25 01:15:01 GMT 2024

Powered by FUDForum. Page generated in 0.03556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top