Do you have "Can't use CDI to create provider" in the logs?

Romain Manni-Bucau
@rmannibucau |  Blog | Github | LinkedIn | Tomitriber


2015-11-15 22:29 GMT-08:00 Rentius <rentius2407...@gmail.com>:
> Hi Romain
>
> Thank you for the reply.
>
> So what you are saying is that my implementation should work? But in my case
> it isn't working.
> In the same project I have CDI activated as I'm injecting EJB's into other
> EJB's using @Inject and it is working.
>
> How would you recommend I implement the injection in the exception handler?
> I'm trying to get hold of the stateless EJB to do a translation before it
> gets send back over the rest call.
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/Injecting-EJB-into-Rest-Exception-Handler-tp4676781p4676787.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to