You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Srivalli Arkalgud <sa...@yahoo.com> on 2006/03/23 00:37:39 UTC
Error running Xerces samples
I downloaded xerces 2-5-0 and attempted to run saxCount/domCount samples. However, I get classNotFound errors:
C:\xerces-2_5_0>java dom.DOMCount data\personal.xml
Exception in thread "main" java.lang.NoClassDefFoundError: dom/DOMCount
Here are the settings for path and classpath:
CLASSPATH=.;C:\xerces-2_5_0\xercesImpl.jar;C:\xerces-2_5_0\xmlParserAPIs.jar;C:\xerces-2_5_0\xml-apis.jar;C:\xerces-2_5_0\xercesSamples.jar;;C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar
Path=C:\Windows\System32\Wbem;C:\Windows\system32;C:\Windows;;C:\Program Files\Java\jdk1.5.0_06\bin;
What am I missing?
Thanks!
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
Re: Error running Xerces samples
Posted by Benjamin Li <xy...@gmail.com>.
Hi there,
You're posting to the wrong list. This is the C-Users list. You should be
looking for the J-users list. Can't blame you since the mailing lists aren't
updated on the project page. Raise the issue to the webmaster if you like.
Anyway, you can find a list of all apache mailing lists at:
http://mail-archives.apache.org/mod_mbox/
Specifically, the java-user list is:
j-users@xerces.apache.org<http://mail-archives.apache.org/mod_mbox/xerces-j-users/>
cheers,
ben
On 3/22/06, Srivalli Arkalgud <sa...@yahoo.com> wrote:
>
> I downloaded xerces 2-5-0 and attempted to run saxCount/domCount samples.
> However, I get classNotFound errors:
>
> C:\xerces-2_5_0>java dom.DOMCount data\personal.xml
> Exception in thread "main" java.lang.NoClassDefFoundError: dom/DOMCount
>
> Here are the settings for path and classpath:
>
> CLASSPATH=.;C:\xerces-2_5_0\xercesImpl.jar;C:\xerces-2_5_0\xmlParserAPIs.jar;C:\xerces-2_5_0\xml-
> apis.jar;C:\xerces-2_5_0\xercesSamples.jar;;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\rt.jar
>
> Path=C:\Windows\System32\Wbem;C:\Windows\system32;C:\Windows;;C:\Program
> Files\Java\jdk1.5.0_06\bin;
>
> What am I missing?
>
> Thanks!
>
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> countries) for 2¢/min or less.
>
--
Signing off,
Benjamin Li
----------------------------------
Online Freedom Doesn't Just Happen!
The Electronic Frontier Foundation www.eff.org
Public Knowledge www.publicknowledge.com
Intellectual Property Political Action Committee www.ipaction.org
Free Culture www.freeculture.org
Creative Commons www.creativecommons.org