cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: SendMailTransformer
Date Tue, 30 Sep 2008 23:37:05 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message