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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Mauri Claudio, 10 months ago
WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,209 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,210 ERROR [stderr] (main) - org.wildfly.swarm.cdi.StageConfigBean@7cdd34e4
via Stack Overflow by Ced
, 1 year ago
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]
via Stack Overflow by tao yang
, 1 year ago
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
via GitHub by qkhan001
, 1 year ago
WELD-001318 Cannot resolve an ambiguous dependency between [Custom Bean with bean class interface org.infinispan.client.hotrod.RemoteCache and qualifiers [@javax.enterprise.inject.Default(), @javax.enterprise.inject.Any()], Producer Method
via Stack Overflow by Samuel Medeiros
, 2 years ago
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]
via Google Groups by rafaelbatz, 1 year ago
WELD-001318: Cannot resolve an ambiguous dependency between: - Managed Bean [class com.teste.web.controller.CadCliente] with qualifiers [@Any @Default], - Managed Bean [class com.teste.web.controller.CadCliente] with qualifiers [@Any @Default]
org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318: Cannot resolve an ambiguous dependency between: 2016-08-23 09:55:53,209 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,210 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.