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

Jake Latham jlatham at rockysoft.com
Fri Jun 29 11:21:18 PDT 2001


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
RockySoft Corporation
2301 Research Boulevard - Suite 202
Jake Latham
Code Monkey
Phone:  (970) 493-0868 x112
Fax:  (970) 493-0887




More information about the jdom-interest mailing list