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

Google Groups | Mauri Claudio | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with microprofile fraction

    Google Groups | 9 months ago | Mauri Claudio
    org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318: Cannot resolve an ambiguous dependency between: - Producer Method [StageConfig] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @Dependent public org.wildfly.swarm.container.runtime.RuntimeServer.stageConfig()], - 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 | 11 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()]

    Root Cause Analysis

    1. org.jboss.weld.exceptions.AmbiguousResolutionException

      WELD-001318: Cannot resolve an ambiguous dependency between: - Producer Method [StageConfig] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @Dependent public org.wildfly.swarm.container.runtime.RuntimeServer.stageConfig()], - 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
    5. Weld Implementation
      WeldBootstrap.validateBeans
      1. org.jboss.weld.bootstrap.ConcurrentValidator.validateBeans(ConcurrentValidator.java:76)
      2. org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:479)
      3. org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:446)
      4. org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
      4 frames
    6. Weld
      WeldStartService.start
      1. org.jboss.as.weld.WeldStartService.start(WeldStartService.java:96)
      1 frame
    7. JBoss Modular Service Container
      ServiceControllerImpl$StartTask.run
      1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      2 frames