You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by wei song <sw...@yahoo.com> on 2001/12/27 06:37:10 UTC

why can not pass a filename from command line

I'm just studying the sample code from sun's tutorial
of JAXP. Here is my problem:

For the Echo01.java, it can compile without error, but
when I tried to pass the xml filename to it, it said:
--------
Exception in thread "main"
java.lang.NoClassDefFoundError:
org/xml/sax/helpers/DefaultHandler...
-------
BUT if I simply assigned the xml filename to URI
variable inside the code, it works well.

Anyone has any idea?How to solve it?
Thanks!!!
sawa

 

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org