Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » M3: PDE: NoClassDefFoundError: org/eclipse/swt/widgets/Dialog
M3: PDE: NoClassDefFoundError: org/eclipse/swt/widgets/Dialog [message #142007] Fri, 10 October 2003 04:17 Go to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Hi!

I completely new to plugin development.

So, I switched to the PDE perspective and created a TeetPlugin with a
SampleView using the Wizard. When I try to run it as Run-time Workbench
that exception is thrown:

java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Dialog
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:16 10)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension(PluginDescriptor.java:138)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension(PluginDescriptor.java:167)
at
org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExtension(ConfigurationElement.java:103)
at
org.eclipse.core.internal.runtime.InternalPlatform.loaderGet Runnable(InternalPlatform.java:584)
at
org.eclipse.core.internal.runtime.InternalPlatform.checkVers ionPrompt(InternalPlatform.java:508)
at
org.eclipse.core.internal.runtime.InternalPlatform.loaderChe ckVersion(InternalPlatform.java:484)
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.internal.boot.InternalBootLoader.checkVersi on(InternalBootLoader.java:873)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:842)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:295)
at org.eclipse.core.launcher.Main.run(Main.java:751)
at org.eclipse.core.launcher.Main.main(Main.java:587)


Well, eclipse uses SWT so why are those classes not distributed with M3???

Or what is going wrong here?
Re: M3: PDE: NoClassDefFoundError: org/eclipse/swt/widgets/Dialog [message #142157 is a reply to message #142007] Fri, 10 October 2003 05:36 Go to previous message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Timo Nentwig wrote:

> Hi!
>
> I completely new to plugin development.
>
> So, I switched to the PDE perspective and created a TeetPlugin with a
> SampleView using the Wizard. When I try to run it as Run-time Workbench
> that exception is thrown:
>
> java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Dialog

and: org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar was added to class path by the
wizard.
Previous Topic:How to indent Button controls?
Next Topic:New Wizard for a java project
Goto Forum:
  


Current Time: Fri Jul 18 00:29:21 EDT 2025

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

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

Back to the top