On 01.10.2008 01:14, Christian Decker wrote:

java.lang.NoSuchMethodError:
org.apache.cocoon.mail.transformation.SendMailTransformer.getLogger()Lorg/apache/avalon/framework/logger/Logger;
       at
org.apache.cocoon.mail.transformation.SendMailTransformer.setup(SendMailTransformer.java:313)

BTW: I'm using cocoon-mail-2.1.9 with cocoon 2.2, is that a problem and if
yes how could I work around it?

That's indeed the problem. The getLogger() implementations of 2.1 and 2.2 are incompatible. In 2.1 it returns o.a.avalon.framework.logger.Logger while in 2.2 we Apache Commons Logging and so the method returns o.a.commons.logging.Log. Compiling 2.1.9's SendMailTransformer against 2.2 libs should fix this but I wonder why you are not using 2.2's SendMailTransformer.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to