Just bumped into the same problem in TynamoJpaModule:

@Startup

public static void addJpaEventListener(@Autobuild
ElasticSearchIndexMaintainer indexMaintainer) {

indexMaintainer.start();

}

Fails in exactly the same way, with "No service implements the interface
org.slf4j.Logger" error message.


On Thu, Jul 3, 2014 at 6:21 PM, Manuel Sugawara <manuel.sugaw...@gmail.com>
wrote:

> On Wed, Jul 2, 2014 at 8:36 PM, Thiago H de Paula Figueiredo <
> thiag...@gmail.com> wrote:
>
> > On Wed, 02 Jul 2014 21:29:03 -0300, Manuel Sugawara <
> > manuel.sugaw...@gmail.com> wrote:
> >
> >  Hi,
> >>
> >
> > Hello, Manuel!
> >
> >
> >  I'm trying to play a little bit with 5.4-beta-6 but our application that
> >> runs on tapestry 5.3.7 isn't starting, the error is:
> >>
> >> org.apache.tapestry5.ioc.internal.OperationException: No service
> >> implements the interface org.slf4j.Logger.
> >>
> >
> > Full stack trace please. :)
>
>
> I found out the problem, or kind of. I have a contribution to the periodic
> executor with an @Startup annotation, this contribution uses another
> service which is build using @Autobuild. This last service has a
> constructor which expects a Logger as parameter and this is what is
> failing, something like:
>
>     @Startup
>     public static void scheduleTrigger(PeriodicExecutor executor,
>                                        @Autobuild
>                                        final CalendarioEventsTriggerer
> triggerer) {
>     ....
>     public CalendarioEventsTriggerer(..., Logger log) {
>
> This is working perfectly in 5.3.
>
> Regards,
> Manuel.
>



-- 
Ilya Obshadko

Reply via email to