From: "Qin Ding" <[EMAIL PROTECTED]> > Donald: I tried the dom4j-full-1.2.jar. Still got the same error. Please > help.
This sounds very strange. Have you tried looking in the dom4j-full-1.2.jar to check that the class is there? jar tf dom4j-full-1.2.jar | fgrep XMLReader Try cleaning out your classpath; this sounds to me like pilot error. Also watch out for directory names that have spaces in them on Windows. James > > Qin > > >>> Donald Ball <[EMAIL PROTECTED]> 07/02/02 03:33PM >>> > On Tue, 2002-07-02 at 16:24, Qin Ding wrote: > > I am a new user. Downloaded the dom4j and included in my classpath > > > > Copy the sample code from dom4j cookbook. Compiled fine. When run > the > > code the error. Here is is the code and error. > > [snip] > > > Error: java.lang.NoClassDefFoundError: org/xml/sax/XMLReader > > > > Please help. Thank you very much. > > try using dom4j-full-x.x.jar instead of dom4j-x.x.jar. it includes the > support libraries like sax. > > - donald > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > No, I will not fix your computer. > http://thinkgeek.com/sf > _______________________________________________ > dom4j-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-user > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user