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

Marco Pas marco.pas at cmg.nl
Thu Oct 12 11:44:57 PDT 2000


I found the solution !
I used an old version of the xerces parser... that caused the error..

Thanks for all your help,
Marco

-----Original Message-----
From: Charlie Wu [mailto:charwu at cisco.com]
Sent: Wednesday, October 11, 2000 7:32 PM
To: Marco Pas; jdom-interest at jdom.org
Subject: Re: [jdom-interest] Help with Error message:
java.lang.NoClassDefFoundError: org/xml/ sax/helpers/XMLReaderFactory


Use double quotes around your file name.. new File("c://731.xml")

----- Original Message -----
From: "Marco Pas" <marco.pas at cmg.nl>
To: <jdom-interest at jdom.org>
Sent: Wednesday, October 11, 2000 1:21 AM
Subject: [jdom-interest] Help with Error message:
java.lang.NoClassDefFoundError: org/xml/ sax/helpers/XMLReaderFactory


> 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
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
>

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com



More information about the jdom-interest mailing list