Hi Romain, It's working now, thank you. I also had to add it in tomee, in catalina.properties (I haven't upgraded tomee to the latest snapshot in a month or so, so I'm not sure if it works with recent additions).
On Mon, Jun 3, 2019 at 9:26 AM Romain Manni-Bucau <[email protected]> wrote: > Hi Vicente, > > Can you set > org.apache.webbeans.service.DefaultInjectionPointService.implicitSupport = > false either through ContainerProperties or another way? At the end it must > end up in the openwebbeans properties - system properties being the > simplest solution. > > Guess TomEE will do it by default with override support at some point. > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://rmannibucau.metawerx.net/> | Old Blog > <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le lun. 3 juin 2019 à 09:22, vicente Rossello <[email protected]> > a écrit : > >> Hi, >> >> I'm trying to upgrade to OWB 2.0.11, coming from 2.0.10. I have an >> ApplicationComposer test that is failing with: >> >> Caused by: org.apache.openejb.OpenEJBRuntimeException: >> org.apache.webbeans.exception.WebBeansDeploymentException: >> javax.enterprise.inject.UnsatisfiedResolutionException: Api type >> [javax.ws.rs.ext.Providers] is not found with the qualifiers >> Qualifiers: [@javax.ws.rs.core.Context()] >> for injection into Field Injection Point, field name : _providers, Bean >> Owner : [JacksonJSONProvider, WebBeansType:MANAGED, Name:null, API >> Types:[java.lang.Object,com.fasterxml.jackson.core.Versioned,com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider,javax.ws.rs.ext.MessageBodyReader<Object>,com.tr2.engine.webclient.JacksonJSONProvider,javax.ws.rs.ext.MessageBodyWriter<Object>,com.fasterxml.jackson.jaxrs.base.ProviderBase<com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider,com.fasterxml.jackson.databind.ObjectMapper,com.fasterxml.jackson.jaxrs.json.JsonEndpointConfig,com.fasterxml.jackson.jaxrs.json.JsonMapperConfigurator>], >> Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]] >> at >> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:200) >> at >> org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:252) >> >> The problem is that this injection is not working now for some reason: >> >> @Context >> protected Providers _providers; >> >> >> I have tried removing everything in exclusions.list but it's not working. >> Any ideas? >> >> >> Thanks, >> >> Vicente. >> >>
