You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Doug Davis/Raleigh/IBM <du...@us.ibm.com> on 2000/11/10 12:50:39 UTC

minor proposal/change (was: XMI error)

Thanks Sam, that did the trick for the 2nd error (still waiting for the
XMI guys to get back to me on the 1st one). If no one has any objections
I'd like to commit the change that Sam has suggested (making the NSDecl
class 'public').
thanks
-Dug

> Also, even once past that error, I get a runtime error:
> java.lang.reflect.InvocationTargetException:
> java.lang.IllegalAccessError: try to access class
> org.apache.soap.util.xml.NSDecl from class
> org.apache.soap.util.xml.NSStack

This error means that the class NSDecl is not declared public.  Package
private classes can be accessed statically from within the package, but not
dynamically using reflection.  If NSDecl is declared public (which requires
it to be moved to a separate source file), this error should go away.

- Sam Ruby