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 Betty Chang <be...@bettyc.com> on 2001/07/04 05:36:26 UTC
conflict between xerces.jar/xalan.jar and tomcat's parser.jar and
saxp.jar?
Hi --
I'm running a servlet application that uses the apache-XML xalan.jar and xerces.jar files for handling XML/XSL stuff.
With tomcat 3.2.1, when I run my servlet, I get NoSuchMethodError on
getNamespaceURI(), called by org.apache.xpath.DOM2Helper.getNamespaceOfNode().
I solved this problem by removing the jaxp.jar and parser.jar files that come with the tomcat installation and sit under
the lib directory.
The servlet still runs without those jar files, so the xalan.jar and xerces.jar must do the trick.
Is there some kind of version conflict that causes the NoSuchMethodError?
Thanks
Betty
Re: conflict between xerces.jar/xalan.jar and tomcat's parser.jar and saxp.jar?
Posted by Arash Rajaiyan <ar...@yahoo.com>.
I had the same version conflict with xalan and xerces
xalan was using an older version of xerces internaly.
--- Betty Chang <be...@bettyc.com> wrote:
> Hi --
>
> I'm running a servlet application that uses the
> apache-XML xalan.jar and xerces.jar files for
> handling XML/XSL stuff.
>
> With tomcat 3.2.1, when I run my servlet, I get
> NoSuchMethodError on
>
> getNamespaceURI(), called by
> org.apache.xpath.DOM2Helper.getNamespaceOfNode().
>
> I solved this problem by removing the jaxp.jar and
> parser.jar files that come with the tomcat
> installation and sit under
> the lib directory.
>
> The servlet still runs without those jar files, so
> the xalan.jar and xerces.jar must do the trick.
>
> Is there some kind of version conflict that causes
> the NoSuchMethodError?
>
> Thanks
>
> Betty
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.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