-------- 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