users@jaxb.java.net

Re: Exception using SaxParser

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 31 Jul 2003 08:46:01 -0700

<bmadhuri_at_MYWAY.COM> wrote:
> Hi, I wrote a program to validate the XML file created by JAXB client. I am
> using SaxParser for this purpose(because it supports whole xml schema).
> When I run my program, it is throwing the following exception. please help
> me.
>
>
> java.rmi.RemoteException: java.lang.NoSuchMethodError
> at org.apache.xerces.util.DOMUtil.getLocalName(Unknown Source)

NoSuchMethodError usually indicates that there's a version inconsistency.
Since this one is happening inside Xerces, I'd suspect that you have an
older version of Xerces or two different versions of them.

But then it doesn't make sense why you are getting RemoteException.

I also noticed that you are using WebLogic, so perhaps you might ask
them this question. As far as I can tell, this is not really a JAXB
problem at all.


regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com