Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PDE: NoClassDefFoundError
PDE: NoClassDefFoundError [message #143675] Tue, 14 October 2003 10:59 Go to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Hi!

I tried to write a plugin for the first time, switched to the PDE
perspective and create a sample view plugin using the wizard. Unfortunately
I cannot run it as run-time workbench. This is quite strange since the
required JAR is in class path and also the editor does not complain about
anything.

So what's going wrong here? I did nothing, everything was done by the
wizard, I just clicked next...and it does work on Windows (?!).

I already tried to manually add org.eclipse.swt to Dependecies but this
obviously was not the problem :-(

help....
Timo


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)
Re: PDE: NoClassDefFoundError [message #143681 is a reply to message #143675] Tue, 14 October 2003 11:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO--SPAM.us.ibm.com

Have you read this article on PDE development?

http://www.eclipsecorner.org/articles/Article-PDE-does-plugi ns/PDE-intro.html

Rich
Re: PDE: NoClassDefFoundError [message #143683 is a reply to message #143681] Tue, 14 October 2003 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Richard L. Kulp wrote:
> Have you read this article on PDE development?

Have you read my posting and that it does work on Windows?
Re: PDE: NoClassDefFoundError [message #143905 is a reply to message #143683] Tue, 14 October 2003 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Timo Nentwig wrote:
> Richard L. Kulp wrote:
>
>>Have you read this article on PDE development?
>
>
> Have you read my posting and that it does work on Windows?

so where does it work, then (just curious)?
Re: PDE: NoClassDefFoundError [message #144011 is a reply to message #143681] Tue, 14 October 2003 13:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Richard L. Kulp wrote:

> Have you read this article on PDE development?
>
> http://www.eclipsecorner.org/articles/Article-PDE-does-plugi ns
PDE-intro.html

I created a blank ~/workspace (I actually had problems with my workspace
before and actually already recreated it from scratch [import projects,
reconfigure eclipse, manually adding update sites, ...]). And it does work.
I deleted the test plugin and created another one, this time it complains
something else.

Very strange....
Re: PDE: NoClassDefFoundError [message #144020 is a reply to message #144011] Tue, 14 October 2003 13:44 Go to previous message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Timo Nentwig wrote:

> I actually had problems with my workspace
> before and actually already recreated it from scratch

I should mention that since I did so everytime I start eclipse that "Please
wait ... completing installation" popup appears.

Strange as well...
Previous Topic:how to split edit view
Next Topic:Team API Documentation
Goto Forum:
  


Current Time: Wed Apr 30 12:20:19 EDT 2025

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

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

Back to the top