You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jörn Heid <he...@fh-heilbronn.de> on 2002/05/01 14:11:05 UTC

Solution for Problem with Resin 2.1.x and Cocoon 2.0.x

For all who will have problems with Resin 2.1.x running Cocoon 2.0.x and JDK
< 1.4.

Symptom:
After deleting dom.jar, sax.jar and jaxp.jar (the TODO for Resin 2.0.x), and
putting all required JARs to resin/lib I got a "NoSuchMethodError" as the
Resin-XSLT implementation was used instead of Xalan.

java.lang.NoSuchMethodError: javax.xml.transform.TransformerException:
method <init>()V not found
	at com.caucho.xsl.XslException.<init>(XslException.java:59)

Changing xalan-xxx.jar to a_xalan-xxx.jar does not succeed.




Solution:
Remove all entries in WEB-INF/services from resin.jar (you can change the
filename to resin.zip, delete those entries, and change the filename back
again).


JOERN


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>