You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Markus Heussen <he...@rheinland-online.com> on 2004/01/23 14:06:29 UTC

[CVS] Using XSLTC failed

Hi!

Using xsltc instead of xalan I get the following error in my tomcat logs:

java.lang.IllegalAccessError: class
org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access its
superclass
org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBase

I'm using Cocoon-2.1.4dev with TC-5.0.18 and SDK-1.4.2_03.

Can anybody fix this and do a commit?

Thanks for any help!

Greetings, Markus





AW: [CVS] Using XSLTC failed

Posted by Markus Heussen <he...@rheinland-online.com>.
Many thanks to Joerg for poiting me to right direction. I only copied
xalan-2.5.2.jar to $TOMCAT_HOME/common/endorsed and xsltc works fine.

Greetings, Markus


> -----Ursprungliche Nachricht-----
> Von: news
> Gesendet: Freitag, 23. Januar 2004 14:34
> An: dev@cocoon.apache.org
> Betreff: Re: [CVS] Using XSLTC failed
>
>
> Markus Heussen <heussen <at> rheinland-online.com> writes:
>
> > Hi!
> >
> > Using xsltc instead of xalan I get the following error in my
> tomcat logs:
> >
> > java.lang.IllegalAccessError: class
> > org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot
> access its
> > superclass
> > org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBase
> >
> > I'm using Cocoon-2.1.4dev with TC-5.0.18 and SDK-1.4.2_03.
> >
> > Can anybody fix this and do a commit?
>
> What about endorsed libs problem? See [1] and [2]. Copy the XML
> libraries from
> COCOON_SRC/lib/endorsed into TOMCAT_HOME/common/endorsed.
>
> Joerg
>
> [1] http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError
> [2] http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem


Re: [CVS] Using XSLTC failed

Posted by Joerg Heinicke <j....@ewerk.com>.
Markus Heussen <heussen <at> rheinland-online.com> writes:

> Hi!
> 
> Using xsltc instead of xalan I get the following error in my tomcat logs:
> 
> java.lang.IllegalAccessError: class
> org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access its
> superclass
> org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBase
> 
> I'm using Cocoon-2.1.4dev with TC-5.0.18 and SDK-1.4.2_03.
> 
> Can anybody fix this and do a commit?

What about endorsed libs problem? See [1] and [2]. Copy the XML libraries from
COCOON_SRC/lib/endorsed into TOMCAT_HOME/common/endorsed.

Joerg

[1] http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError
[2] http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem