[jdom-interest] Re: ClassNotFoundException

Honnold, John (GA) JHonnol at GA.WA.GOV
Tue Sep 18 10:30:37 PDT 2001

I have a servlet that runs great using Visual Cafe and JDK 1.18.  When I try
and run the servlet on our webserver I get the infamous
java.lang.ClassNotFoundException when it attempts to execute the following
SAXBuilder builder = new SAXBuilder();
I am able to recompile the code on the webserver with no errors.  The
problem appears to be a classpath problem but have read the classpath info
in the FAQ's at jdom.org and have set up my classpath accordingly along with
running the build11.bat.   Our webserver is currently using JRUN 2.2 with
JDK 1.18.  Is there a specific place that the various .jar files should be
placed?  The fact that I can compile the servlet and have it execute the
various jdom import statements lead me to think my classpath is correct.
Any help will be greatly appreciated
John Honnold

More information about the jdom-interest mailing list