javax.enterprise.inject.AmbiguousResolutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • RE: CDI and ParameterizedTypes
    via by Xavier Dury,
    • javax.enterprise.inject.AmbiguousResolutionException: Ambigious resolution found beans:  StringToLongConverter, Name:null, WebBeans Type:MANAGED, API Types:[java.lang.Object,test.StringToLongConverter,test.TypeConverter], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default] StringToIntegerConverter, Name:null, WebBeans Type:MANAGED, API Types:[test.TypeConverter,java.lang.Object,test.StringToIntegerConverter], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default] at org.apache.webbeans.util.InjectionExceptionUtils.throwAmbiguousResolutionExceptionForBeans(InjectionExceptionUtils.java:121) at org.apache.webbeans.util.InjectionExceptionUtils.throwAmbiguousResolutionException(InjectionExceptionUtils.java:111) at org.apache.webbeans.util.InjectionExceptionUtils.throwAmbiguousResolutionException(InjectionExceptionUtils.java:88) at org.apache.webbeans.container.InjectionResolver.resolve(InjectionResolver.java:669) at org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:189) at org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1034) at org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:269) at org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:222) at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:280)
    No Bugmate found.