I ran into a similar situation before, after tearing all my hair and
turning my head bold, I found that the "@Inject" annotation was for google
juice and not for tapestry ! For some reason eclipse did that to me !

Make sure the @Inject annotation is tapestry's. And if you are using java's
inject annotation. Make sure only tapestry 5.3 exists in the class path and
no older jars are leftover from previous deployments or such.

On Fri, Jan 6, 2012 at 8:54 PM, Howard Lewis Ship <[email protected]> wrote:

> What version of Tapestry are you using, and how is the class being
> instantiated.  If you are simply using "new", then Tapestry is not
> involved and no injections take place.
>
> On Fri, Jan 6, 2012 at 9:41 AM, Borut Bolčina <[email protected]>
> wrote:
> > 2012/1/6 DH <[email protected]>
> >
> >> Yes, Try:
> >>
> >> @Inject
> >> @Symbol("configuration.service.connectionTimeoutMillis")
> >> private Integer configurationServiceConnectionTimeoutMillis;
> >>
> >>
> >> Nope, tried that also, forgot to include it in my original email.
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
*Regards,*
*Muhammad Gelbana
Java Developer*

Reply via email to