I just tried JBoss AS 7.1.1 with Weld 2.0.0.Beta3 and Weld
2.0.0.Beta6, JBoss EAP 6.1 Alpha 1 with Weld 2.0.0.Beta6 and I
have encountered the following issue when deploying a small
sample application:
20:55:52,495
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-14)
MSC00001: Failed to start service
jboss.deployment.unit."Foodeys.war".WeldService: org.jboss.msc.service.StartException in
service jboss.deployment.unit."Foodeys.war".WeldService: org.jboss.weld.exceptions.DeploymentException:
WELD-001414 Bean name is ambiguous. Name
csfFLOWDISCOVERYCDIHELPER resolves to beans [Managed Bean
[class com.sun.faces.flow.FlowDiscoveryCDIHelper] with
qualifiers [@Default @Named @Any], Managed Bean [class
com.sun.faces.flow.FlowDiscoveryCDIHelper] with qualifiers
[@Default @Named @Any]]
at
org.jboss.as.weld.services.WeldService.start(WeldService.java:84)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_15]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_15]
at
java.lang.Thread.run(Thread.java:722)
[rt.jar:1.7.0_15]
Caused
by: org.jboss.weld.exceptions.DeploymentException:
WELD-001414 Bean name is ambiguous. Name
csfFLOWDISCOVERYCDIHELPER resolves to beans [Managed Bean
[class com.sun.faces.flow.FlowDiscoveryCDIHelper] with
qualifiers [@Default @Named @Any], Managed Bean [class
com.sun.faces.flow.FlowDiscoveryCDIHelper] with qualifiers
[@Default @Named @Any]]
at
org.jboss.weld.bootstrap.ConcurrentValidator$5.doWork(ConcurrentValidator.java:133)
at
org.jboss.weld.bootstrap.ConcurrentValidator$5.doWork(ConcurrentValidator.java:129)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[rt.jar:1.7.0_15]
at
java.util.concurrent.FutureTask.run(FutureTask.java:166)
[rt.jar:1.7.0_15]
...
3 more