File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Help with xerces-2_5_0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Help with xerces-2_5_0" Watch "Help with xerces-2_5_0" New topic

Help with xerces-2_5_0

L Sav

Joined: Nov 01, 2003
Posts: 1
I have a question. I installed xerces-2_5_0 and I set the CLASSPATH to
My java path is set PATH C:WINDOWS\COMMAND;C:WINDOWS;C:\j2sdk1.4.2_01\bin
Running test according the instruction:
C:\xerces-2_5_0>java sax.SAXCounter data/personal.xml
I got error:
Exception in thread "main" java.lang.NoClassDefFoundError:sax/SAXCounter
I have Counter, not Saxcounter file.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I think the documentation is out of synch (i.e. it should read "sax.Counter" instead of "sax.SAXCounter").

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: Help with xerces-2_5_0
It's not a secret anymore!