Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] NoClassDefFoundError - - -
 org/xml/sax/SAXNotSupportedException

Jean Carot

2005-06-30


It is the exact solution, thank you!
Well now I have an "Exception occured during event dispatching" but this has nothing to do with JDOM. Still, Java may be platform-independant, it's so version-dependant...


Jean



----- Original Message -----
From: "Laurent Bihanic" <laurent.bihanic@(protected)>
To: "Jean Carot" <yhean@(protected)>
Subject: Re: [jdom-interest] NoClassDefFoundError - - -  org/xml/sax/SAXNotSupportedException
Date: Thu, 30 Jun 2005 12:03:51 +0200

>
>
> Hi,
>
> Jean Carot wrote:
> > java.exe -classpath .\build;.\lib\org.jdom\jdom.jar; MainClass
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/xml/sax/SAXNotSupportedException
> >
> > it appears to be the line "SAXBuilder sxb = new SAXBuilder();"
> >
> > I really don't understand why it won't work from a Windows to
> > another. Any help? :)
>
> Maybe you're running on an old JDK version that has no XML support bundled.
> Try adding Xerces JARs (xml-apis.jar and xerces.jar) to the classpath.
>
> Laurent


--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at once.
http://datingsearch.lycos.com


_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.