[jdom-interest] strange error
Alex Rosen
arosen at silverstream.com
Tue Aug 20 06:34:20 PDT 2002
See
http://www.servlets.com/archive/servlet/ReadMsg?msgId=6466&listName=jdom-int
erest
Alex
-----Original Message-----
From: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]On
Behalf Of Nathan Kufner
Sent: Monday, August 19, 2002 1:06 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] strange error
So this is the output of a Test file I made. The classpath prints and
then when the following code executes and I get an error:
....
Document doc = null;
try{
SAXBuilder builder = new SAXBuilder(true); //error
occurs here
doc = builder.build(new ByteArrayInputStream(xml));
}
....
Here is the output:
C:\j2sdk1.4.1\lib;.;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdk1.4.1\jre\lib\ext\s
unjce_provider.jar;C:\j2sdk1.4.1\jre\lib\security\local_policy.jar;C:\j2sdk1
.4.1\jre\lib\security\US_export_policy.jar;C:\jdom-b8\build\jdom-jdk11.jar;C
:\jdom-b8\build\jdmo.jar;C:\jdom-b8\lib\xerces.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/java/util/collections/HashMap
at org.jdom.input.SAXBuilder.<init>(SAXBuilder.java)
at Test.main(Test.java:36)
I have never heard of and can't find that directory, and the SAXBuilder
source only refers to the java/util/HashMap. If anybody can help I would
appreciate it very much, because I'm stumped...
Thanks,
Nathan Kufner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020820/cfa698ae/attachment.htm
More information about the jdom-interest
mailing list