[jdom-interest] Jar Creation Problem: NoClassDefFoundError
Eddy Boxerman
boxer at ymx.sita.int
Fri Sep 22 16:54:25 PDT 2000
Hi,
I've downloaded and built jdom-b4.zip. I wrote a very simple applet
(found below) to test my installation, which I can compile and execute.
But when I try to build a jar file, I get the message:
"java.lang.NoClassDefFoundError: org/jdom/Namespace".
I'd greatly appreciate if anyone could suggest what I've done wrong.
Thanks,
Eddy
code:
-----
import java.awt.*;
import javax.swing.*;
import org.jdom.Element;
public class JApplet1 extends JApplet
{
public void init()
{
getContentPane().setLayout(null);
setSize(426,266);
Element elem = new Element("root");
}
}
More information about the jdom-interest
mailing list