tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Gallimore <jonathan.gallim...@gmail.com>
Subject Re: UnsatisfiedResolutionException for java.time.Clock
Date Wed, 26 Jul 2017 19:11:01 GMT
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