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 Hasan Ibrahim Al-Sheboul <hs...@cs.nmsu.edu> on 2002/06/16 12:39:33 UTC
Is any problem with: org.apache.xerces.parsers.DOMParser
Hello,
Can any body tell me what the problem with this code:
import org.apache.xerces.parsers.DOMParser ;
..
parser = new DOMParser();
..
try {
parser.parse(uri);
} catch ...
Platforms: Xerces 2.0.1, J2sdk1.4.01.1, Linux Kernel 2.4.12.
When I execute the system, I got an error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xerces/parsers/DOMParser
Although, it is executed well on a different machine (but Kernel 2.4.2).
Is it necessary to convert the code into the one that handles with
documentBuilder and factory methods?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: Is any problem with: org.apache.xerces.parsers.DOMParser
Posted by Hasan Ibrahim Al-Sheboul <hs...@cs.nmsu.edu>.
I'm sorry for cluttering your mail boxes. My problem was with a script file
and it was not as it seemed at first!
> Hello,
>
> Can any body tell me what the problem with this code:
>
> import org.apache.xerces.parsers.DOMParser ;
> ..
>
> parser = new DOMParser();
> ..
>
> try {
> parser.parse(uri);
> } catch ...
>
> Platforms: Xerces 2.0.1, J2sdk1.4.01.1, Linux Kernel 2.4.12.
>
> When I execute the system, I got an error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/xerces/parsers/DOMParser
>
> Although, it is executed well on a different machine (but Kernel 2.4.2).
>
> Is it necessary to convert the code into the one that handles with
> documentBuilder and factory methods?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org