The situation is that you can inject a Logger when constructing a
service, but you can't inject a Logger when contributing to a service.
Perhaps it would be a good idea to allow the service's Logger to be
injected into contributor methods, with the intention that any logging
related to the service
This is a different issue from the threads mentioned. Those threads
are classloader issues, where the slf4j classes can't be found.
In Franz's case, the org.slfj4.Logger interface is properly loaded by
the classloader. The issue is that the ioc container is confusing the
Logger parameter for
see: http://www.nabble.com/About-Slf4j-Error-td13591128.html#a15240195
http://www.nabble.com/About-Slf4j-Error-td13591128.html#a15240195
Franz Amador wrote:
>
> This used to work, but now it's broken for me in 5.0.6 and 5.0.7. I'm not
> sure how to debug this. Apparently a proxy is being cre
lt;[EMAIL PROTECTED]>
> To: Tapestry users
> Sent: Wednesday, January 2, 2008 11:27:18 AM
> Subject: Re: T5.0.7: No service implements the interface org.slf4j.Logger
>
>
> That's odd, I don't understand why it would have worked in 5.0.5! A
> Logger should only b
;
To: Tapestry users
Sent: Wednesday, January 2, 2008 11:27:18 AM
Subject: Re: T5.0.7: No service implements the interface org.slf4j.Logger
That's odd, I don't understand why it would have worked in 5.0.5! A
Logger should only be available for a service builder method, not for
a contri
That's odd, I don't understand why it would have worked in 5.0.5! A
Logger should only be available for a service builder method, not for
a contribution method.
On Jan 2, 2008 11:18 AM, Franz Amador <[EMAIL PROTECTED]> wrote:
> This used to work, but now it's broken for me in 5.0.6 and 5.0.7. I'
This used to work, but now it's broken for me in 5.0.6 and 5.0.7. I'm not sure
how to debug this. Apparently a proxy is being created for Logger, but when
HibernateSessionManagerImpl tries to use it, it can't be realized. Thanks in
advance for any help.
Here are the relevant bits of AppModul