Hi John

What does the lookup look like? Using the related bean manager un several
apps with success.

Side note: is your classloader well setup?


Le 27 déc. 2016 23:29, "John D. Ament" <[email protected]> a écrit :

> Hi,
>
> So I'm starting to run into my old friend, where instance doesn't work the
> same in OWB and Weld.  Basically anytime I use CDI.current() to resolve a
> bean, it fails.  The same lookup works when using BeanManager.getReference,
> or even the DeltaSpike utilities.
>
> My understanding is that I should be able to look up any bean via
> CDI.current() not just beans that have injection targets.  So I was
> wondering, would it make sense to relax the requirement on injection
> points?
>
> John
>

Reply via email to