<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=319443113-20082002><FONT face=Arial color=#0000ff size=2>See <A 
href="http://www.servlets.com/archive/servlet/ReadMsg?msgId=6466&amp;listName=jdom-interest">http://www.servlets.com/archive/servlet/ReadMsg?msgId=6466&amp;listName=jdom-interest</A></FONT></SPAN></DIV>
<DIV><SPAN class=319443113-20082002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=319443113-20082002><FONT face=Arial color=#0000ff 
size=2>Alex</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> jdom-interest-admin@jdom.org 
  [mailto:jdom-interest-admin@jdom.org]<B>On Behalf Of </B>Nathan 
  Kufner<BR><B>Sent:</B> Monday, August 19, 2002 1:06 AM<BR><B>To:</B> 
  jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] strange 
  error<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2><FONT face="Courier New">
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New">So 
  this is the output of a Test file I made.&nbsp; The classpath prints and then 
  when the following code executes and I get an error:</FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face=Arial></FONT>&nbsp;</P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face=Arial>....</FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face=Arial>Document 
  doc = null;<BR>&nbsp;&nbsp;try{<BR>&nbsp;&nbsp;&nbsp;SAXBuilder builder = new 
  SAXBuilder(true);&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //error 
  occurs&nbsp;here<BR>&nbsp;&nbsp;&nbsp;doc = builder.build(new 
  ByteArrayInputStream(xml));<BR>&nbsp;&nbsp;}</FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"></FONT><FONT 
  face=Arial>....</FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Here is the output:</P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face="Courier New">C:\j2sdk1.4.1\lib;.;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdk1.4.1\jre\lib\ext\sunjce_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</FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face="Courier New"></FONT>&nbsp;</P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face="Courier New">Exception in thread "main" java.lang.NoClassDefFoundError: 
  com/sun/java/util/collections/HashMap<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.jdom.input.SAXBuilder.&lt;init&gt;(SAXBuilder.java)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at Test.main(Test.java:36)<BR></FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face="Courier New"></FONT>&nbsp;</P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT face="Courier New">I 
  have never heard of&nbsp;and can't find that directory, and the SAXBuilder 
  source only refers to the java/util/HashMap.&nbsp; If anybody can help I would 
  appreciate it very much, because I'm stumped... </FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face="Courier New"></FONT>&nbsp;</P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face="Courier New">Thanks,</FONT></P>
  <P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT 
  face="Courier New">Nathan 
Kufner</FONT></P></FONT></DIV></BLOCKQUOTE></BODY></HTML>