Have you read this?
http://tapestry.apache.org/integrating-with-spring-framework.html

you should be using a tapestry library called tapestry-spring for this:

@Inject
private MyBeanClass mbc;

to work.

cheers

Nicolás.-


On Wed, Feb 6, 2013 at 9:47 AM, lukaszkaleta <lukaszkal...@gmail.com> wrote:

> I am using tapestry spring with compatibility mode:
>
> This is mine bean definition:
>
>
>
> I try this:
>
>
> but I got following exception
>
> I also try with
>
> but no luck.
>
> If I @Inject ApplicationContext I can access the bean from it, but I would
> like to get it directly.
>
> I am using tapestry: Tapestry 5.3.6. I am not sure if and where I am doing
> something wrong. Could someone give me hint ?
>
>
>
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Spring-injection-by-interface-tp5719810.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to