[jdom-interest] Attribute instantiation woes
Kenworthy, Edward
edward.kenworthy at exchange.co.uk
Mon Apr 23 07:37:46 PDT 2001
Sounds like a classpath problem. Did you add jdom to your libraries in VAJ
(I forget the exact menu item, its been a while since I used VAJ) ?
-----Original Message-----
From: Cem Karan [mailto:Cem.Karan at usa.alcatel.com]
Sent: 23 April 2001 14:55
To: jdom-interest at jdom.org
Subject: [jdom-interest] Attribute instantiation woes
I know that this is somewhat offtopic, as it deals with Visual Age for
Java, but as it also deals with JDom, I'm going to ask here anyways.
I am trying to make an instance of Attribute that I will eventually add
to an Element node. As a test case, I have this fairly simple code:
import org.jdom.*;
import org.jdom.adapters.*;
import org.jdom.input.*;
import org.jdom.output.*;
public class AttributeMaker
{
public AttributeMaker() {super();}
public static void main(String[] args)
{
Attribute tempAttrib = null;
tempAttrib = new Attribute("a","b");
}
}
which always throws a java.lang.NoClassDefFoundError. Any thoughts?
Cem Karan
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list