[jdom-interest] Getting Started...and stalled by SAXBuilder error. Help?

Ian Lea ian.lea at blackwell.co.uk
Fri Jun 29 13:07:48 PDT 2001


I'd say it HAS to be because jdom.jar isn't being found at runtime.
Are you absolutely, completely, positive it is in the classpath
used at runtime?


--
Ian.
ian.lea at blackwell.co.uk


Jake Latham wrote:
> 
> Hi all!
> 
> As if you couldn't tell, I'm new to the list.  I've done a lot with XML, but
> not so much with Java, so I'm still trying to get acclimatized.  I built the
> jdom package and have been able to compile my code OK, but at runtime, I'm
> getting a SAXBuilder error.  I searched the archives and couldn't find
> anything that worked for me, so I thought I'd see if you folks could help.
> 
> Here are the particulars.
> 
> 1.) The error:
> Exception occurred during event dispatching:
> java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
>  at applets/VITPanel.checkForNodeClicked (vitpanel.java:373)
> ...
> 
> 2.) Import Statements:
> package applets;
> 
> import shout3d.core.*;
> import shout3d.math.*;
> import shout3d.*;
> 
> import java.net.*;
> import java.io.*;
> 
> import org.jdom.*;
> import org.jdom.input.SAXBuilder;
> import org.jdom.output.*;
> import java.util.*;
> 
> 3.) The actual code:
> SAXBuilder saxBuilder = new SAXBuilder();   ;-) Complex I know :-)
> 
> 4.) CLASSPATH and JAVA_HOME:
> JAVA_HOME = C:\Java
> 
> CLASSPATH =
> %JAVA_HOME%\jre\lib\ext\jdom.jar;%JAVA_HOME%\jre\lib\ext\xerces.jar;C:\Progr
> amming\Shout3D\Shout3d_runtime\codebase;
> 
> I know it must be something related to the path information, but I don't
> really know what it is - can you help me out?
> 
> Thanks a bunch,
> 
> -J



More information about the jdom-interest mailing list