tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: UnsatisfiedResolutionException for java.time.Clock
Date Thu, 27 Jul 2017 04:36:17 GMT
Not a feature in ee8 as well i think. Would at least need a qualifier to
know which factory the container would use.

Le 26 juil. 2017 21:11, "Jonathan Gallimore" <jonathan.gallimore@gmail.com>
a écrit :

> I don't know if that's a new feature in a newer version of CDI, but I don't
> think you can do that in EE7. I'd try creating a CDI producer to inject
> that.
>
> Hope that is some help.
>
> Jon
>
> On 26 Jul 2017 7:23 pm, "Chris Owens" <ctag+openejb@chris-owens.com>
> wrote:
>
> > I'm getting UnsatisfiedResolutionException when I try to @Inject
> > java.time.Clock.
> >
> > Is the container supposed to be providing an instance, or do I need to
> > provide one myself?
> >
> >
> >
> >
> >
> > --
> > View this message in context: http://tomee-openejb.979440.n4.nabble.com/
> > UnsatisfiedResolutionException-for-java-time-Clock-tp4682324.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message