You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Ranjan Baisak <ra...@gmail.com> on 2005/01/24 12:27:25 UTC
java.lang.IllegalAccessError when using looping in RTF(XSLT 1.0)
My stylesheet is very complex with usage of lots of RTFs. When I am
executing the stylesheet in Stylus Studio with XALAN processor then it
runs perfectly, but when I am executing stylesheet using Xalan 2.6.0
the it gives following error. Not sure whetz wrong
java.lang.IllegalAccessError: class
org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access
its superclass org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBase
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
.....
-Ranjan
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
Re: java.lang.IllegalAccessError when using looping in RTF(XSLT 1.0)
Posted by Henry Zongaro <zo...@ca.ibm.com>.
Hi, Ranjan.
Ranjan Baisak <ra...@gmail.com> wrote on 2005-01-24 06:27:25 AM:
> My stylesheet is very complex with usage of lots of RTFs. When I am
> executing the stylesheet in Stylus Studio with XALAN processor then it
> runs perfectly, but when I am executing stylesheet using Xalan 2.6.0
> the it gives following error. Not sure whetz wrong
>
> java.lang.IllegalAccessError: class
> org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access
> its superclass org.apache.xml.dtm.ref.
> DTMDefaultBaseIterators$InternalAxisIteratorBase
This looks like a commonly encountered configuration problem - the
JVM might be loading some classes for Xalan-J from your class path while
other classes from an incompatible version are being included with your
Java run-time. See [1] for more information and suggestions for resolving
the problem.
I hope that helps.
Thanks,
Henry
[1] http://xml.apache.org/xalan-j/faq.html#faq-N1032B
------------------------------------------------------------------
Henry Zongaro Xalan development
IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org