[resteasy] Cannot use @Inject from Application class any suggest ?

Jim Ma ema at redhat.com
Thu Sep 8 23:10:14 EDT 2016


Hi seb,
Sorry for the so late reply. We've moved the mailing list to jboss 
mailing list: http://resteasy.jboss.org/mailinglists from May 2016.
If you have further question , please post there.
To answer your question, can you please provide more information ? for 
example the steps , code and environment
which can help us understand this injection problem or quickly reproduce 
this error.
Cheers,
Jim
On 09/08/2016 05:50 PM, Alessio Soldano wrote:
>
>
>
>
> -------- Messaggio Inoltrato --------
> Oggetto: 	[resteasy] Cannot use @Inject from Application class any 
> suggest ?
> Data: 	Mon, 23 May 2016 10:19:21 +0200
> Mittente: 	sbeex <sbeex1 at gmail.com>
> A: 	resteasy at lists.jboss.org
>
>
>
> Hello devs,
> I would like to instanciate a class in my main RestEasyApplication 
> (Application class).
>
> But this TestDataLoader require some @Inject and they are all null at 
> this point. How could I solve that "injection problem" ?
>
> When I use : @Startup annotation the script loads fine.
>
> Thx in advance for your attention
> seb


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy/attachments/20160909/0f5355c2/attachment.html 


More information about the resteasy mailing list