Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » JFace: NoClassDefFoundError
JFace: NoClassDefFoundError [message #459816] Wed, 17 August 2005 20:06 Go to next message
Johan Tibell is currently offline Johan TibellFriend
Messages: 14
Registered: July 2009
Junior Member
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 21:11 Go to previous message
Vicente is currently offline VicenteFriend
Messages: 7
Registered: July 2009
Junior Member
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: Fri May 14 06:41:34 GMT 2021

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

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

Back to the top