org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,208 ERROR [stderr] (main) - Producer Method [StageConfig] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @Dependent public org.wildfly.swarm.container.runtime.RuntimeServer.stageConfig()], 2016-08-23 09:55:53,208 ERROR [stderr] (main) - org.wildfly.swarm.cdi.StageConfigBean@7cdd34e4

Google Groups | Mauri Claudio | 3 months ago
  1. 0

    Problem with microprofile fraction

    Google Groups | 3 months ago | Mauri Claudio
    org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,208 ERROR [stderr] (main) - Producer Method [StageConfig] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @Dependent public org.wildfly.swarm.container.runtime.RuntimeServer.stageConfig()], 2016-08-23 09:55:53,208 ERROR [stderr] (main) - org.wildfly.swarm.cdi.StageConfigBean@7cdd34e4
  2. 0

    org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type Bean with qualifiers @Default

    Stack Overflow | 5 months ago | Ced
    org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318: Cannot resolve an ambiguous dependency between: - Managed Bean [class org.omnifaces.cdi.push.SocketSessionManager] with qualifiers [@Any @Default], - Managed Bean [class org.omnifaces.cdi.push.SocketSessionManager] with qualifiers [@Any @Default]
  3. 0

    Weld has ambiguous dependencies error only in production

    Stack Overflow | 3 years ago | Samuel Medeiros
    org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318 Cannot resolve an ambiguous dependency between: - Implicit Bean [javax.enterprise.inject.spi.InjectionPoint] with qualifiers [@Default], - Managed Bean [class org.jboss.weld.injection.EmptyInjectionPoint] with qualifiers [@Any @Default], - Managed Bean [class org.jboss.weld.manager.BeanManagerImpl$InstanceInjectionPoint] with qualifiers [@Any @Default]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when migrating from glassfish to wildfly 8/9

    Stack Overflow | 1 year ago | tao yang
    org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318: Cannot resolve an ambiguous dependency between: - WELD%AbstractBuiltInBean%TrEvents.war/WEB-INF/lib/solder-impl-3.2.1.Final.jar%HttpServletRequest, - Producer Method [HttpServletRequest] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @Typed @RequestScoped protected org.jboss.solder.servlet.http.ImplicitHttpServletObjectsProducer.getHttpServletRequest()]
  6. 0

    deltaspike repository entitymanagerresolver error with two produces entityManger

    Stack Overflow | 3 years ago | felexx
    org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318 Cannot resolve an ambiguous dependency between [Producer Method [EntityManager] with qualifiers [@Hbs @Any] declared as [[BackedAnnotatedMethod] @Produces @Hbs protected co.com.compuhelmac.hbs.database.EntityManagerProducer.createHbsEntityManager()], Producer Method [EntityManager] with qualifiers [@HbsWeb @Any] declared as [[BackedAnnotatedMethod] @Produces @HbsWeb protected co.com.compuhelmac.hbs.database.EntityManagerProducer.createHbsWebEntityManager()]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jboss.weld.exceptions.AmbiguousResolutionException

      WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,208 ERROR [stderr] (main) - Producer Method [StageConfig] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @Dependent public org.wildfly.swarm.container.runtime.RuntimeServer.stageConfig()], 2016-08-23 09:55:53,208 ERROR [stderr] (main) - org.wildfly.swarm.cdi.StageConfigBean@7cdd34e4

      at org.jboss.weld.manager.BeanManagerImpl.resolve()
    2. Weld Implementation
      IterativeWorkerTaskFactory$1.call
      1. org.jboss.weld.manager.BeanManagerImpl.resolve(BeanManagerImpl.java:1235)
      2. org.jboss.weld.bootstrap.Validator.validatePseudoScopedInjectionPoint(Validator.java:926)
      3. org.jboss.weld.bootstrap.Validator.reallyValidatePseudoScopedBean(Validator.java:902)
      4. org.jboss.weld.bootstrap.Validator.reallyValidatePseudoScopedBean(Validator.java:917)
      5. org.jboss.weld.bootstrap.Validator.validatePseudoScopedBean(Validator.java:879)
      6. org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:138)
      7. org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:155)
      8. org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
      9. org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)
      10. org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)
      11. org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
      12. org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
      12 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4. java.lang.Thread.run(Unknown Source)
      4 frames
    4. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame