[jdom-interest] Help with Error message: java.lang.NoClassDefFoundError: org/xml/ sax/helpers/XMLReaderFactory

Marco Pas marco.pas at cmg.nl
Wed Oct 11 01:21:19 PDT 2000


When trying to run the understanding code,
i get the following error message.. using xerces parser...

import java.io.*;
import java.util.*;
import org.jdom.*;
import org.jdom.input.*;
import org.jdom.output.*;

public class jdom_test {

    public static void main(String[] arg) {

        try {

            SAXBuilder b = new SAXBuilder();

            System.out.println("Building DOM document...");

            Document doc = b.build(new File(C://751.htm));
            XMLOutputter fmt = new XMLOutputter();
            fmt.output(doc, System.out);

        } catch(Exception ex) {

            ex.printStackTrace();
        }
        System.exit(0);
    }
}

What am i doing wrong ?

				groeten / regards,

				Marco Pas
				CMG Trade, Transport & Industry B.V.
----------------------------------------------------------------------
Web Technology
Postbus 8566, 3009 AN Rotterdam, 
Kralingseweg 241 - 249, 3062 CE Rotterdam
The Netherlands
Tel.: +31 (0)10 253.7391		
Fax: +31 (0)10 253.7035
Personal Fax/Voicemail: 020 - 8833477
http://www.cmg.com
E-mail: marco.pas at cmg.nl




More information about the jdom-interest mailing list