Hi I tried to @Inject a Logger into a service (a tapestry-resteasy resource if that matters) and got an exception: oejs.ServletHandler:/intern/ java.lang.RuntimeException: Exception constructing service 'ResteasyRequestFilter': Error building service proxy for service 'Application' (at org.tynamo.resteasy.Application(Collection) (at Application.java:14) via org.tynamo.resteasy.ResteasyModule.bind(ServiceBinder) (at ResteasyModule.java:31)): Error invoking service contribution method org.tynamo.resteasy.ResteasyModule.javaxWsRsCoreApplication(Configuration, ObjectLocator, ResteasyPackageManager, ClassNameLocator): No service implements the interface org.slf4j.Logger. at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:75) ...
Google quickly brought up the solution to use @InjectResource instead, and that works perfectly fine. But @InjectResource shows up as deprecated and the documentation states it should behave identical to @Inject. It doesn't in my case. Should I raise a issue? Sebastian