org.jboss.weld.exceptions.AmbiguousResolutionException

WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,205 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,205 ERROR [stderr] (main) - org.wildfly.swarm.cdi.StageConfigBean@7cdd34e4

Solutions on the web12

  • via Google Groups by Mauri Claudio, 7 months ago
    WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,205 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,205 ERROR [stderr] (main) - org.wildfly.swarm.cdi.StageConfigBean@7cdd34e4
  • WELD-001318 Cannot resolve an ambiguous dependency between [Producer Method [EntityManager] with qualifiers [@Hbs @Any] declared as [[BackedAnnotatedMethod] @Produces @Hbs protected
  • 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
  • Stack trace

    • org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,205 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,205 ERROR [stderr] (main) - org.wildfly.swarm.cdi.StageConfigBean@7cdd34e4 at org.jboss.weld.manager.BeanManagerImpl.resolve(BeanManagerImpl.java:1235) at org.jboss.weld.bootstrap.Validator.validatePseudoScopedInjectionPoint(Validator.java:926) at org.jboss.weld.bootstrap.Validator.reallyValidatePseudoScopedBean(Validator.java:902) at org.jboss.weld.bootstrap.Validator.reallyValidatePseudoScopedBean(Validator.java:917) at org.jboss.weld.bootstrap.Validator.validatePseudoScopedBean(Validator.java:879) at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:138) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:155) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago