Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » JFace: NoClassDefFoundError
JFace: NoClassDefFoundError [message #459816] Wed, 17 August 2005 16:06 Go to next message
Eclipse UserFriend
I'm having some troubles creating a JFace based app. I get an exception
when I try to run this:

import org.eclipse.jface.window.ApplicationWindow;
import org.eclipse.swt.widgets.Shell;

public class Foo extends ApplicationWindow {
public DistributedFileSystem(Shell parentShell) {
super(parentShell);
}

public static void main(String[] args) {}
}

java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor
Exception in thread "main"

I have added org.eclipse.jface_3.2.0.jar as an external JAR and have
included the SWT jar (which is in the SWT project in my workspace).

I would very much appreciate some help.
Re: JFace: NoClassDefFoundError [message #459817 is a reply to message #459816] Wed, 17 August 2005 17:11 Go to previous message
Eclipse UserFriend
Johan Tibell escribió:
> I'm having some troubles creating a JFace based app. I get an exception
> when I try to run this:
>
> import org.eclipse.jface.window.ApplicationWindow;
> import org.eclipse.swt.widgets.Shell;
>
> public class Foo extends ApplicationWindow {
> public DistributedFileSystem(Shell parentShell) {
> super(parentShell);
> }
>
> public static void main(String[] args) {}
> }
>
> java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor
> Exception in thread "main"
>
> I have added org.eclipse.jface_3.2.0.jar as an external JAR and have
> included the SWT jar (which is in the SWT project in my workspace).
>
> I would very much appreciate some help.

In your project, try to add runtime.jar library...
Previous Topic:Erase background transparently
Next Topic:ListSelectionDialog
Goto Forum:
  


Current Time: Thu Jul 17 16:24:20 EDT 2025

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

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

Back to the top