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@gmail.com> A: resteasy@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