java - jbpm6 example application rewards-jsf deplyment error -
i getting below error when deploying rewards-jsf application. please advise.
07:18:41,768 error [org.jboss.msc.service.fail] (msc service thread 1-7) msc00001: failed start service jboss.deployment.unit."rewards-jsf-6.0.1-snapshot.war".weldservice: org.jboss.msc.service.startexception in service jboss.deployment.unit."rewards-jsf-6.0.1-snapshot.war".weldservice: org.jboss.weld.exceptions.deploymentexception: weld-001409 ambiguous dependencies type [usergroupcallback] qualifiers [@default] @ injection point [[field] @inject private org.jbpm.examples.util.rewardsapplicationscopedproducer.usergroupcallback]. possible dependencies [[managed bean [class org.jbpm.examples.util.rewardsusergroupcallback] qualifiers [@any @default], producer method [usergroupcallback] qualifiers [@any @default] declared [[method] @applicationscoped @produces public org.jbpm.kie.services.cdi.producer.defaultusergroupinfoproducer.producecallback()]]] @ org.jboss.as.weld.services.weldservice.start(weldservice.java:83) @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:895) [rt.jar:1.6.0_45] @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:918) [rt.jar:1.6.0_45] @ java.lang.thread.run(thread.java:662) [rt.jar:1.6.0_45] caused by: org.jboss.weld.exceptions.deploymentexception: weld-001409 ambiguous dependencies type [usergroupcallback] qualifiers [@default] @ injection point [[field] @inject private org.jbpm.examples.util.rewardsapplicationscopedproducer.usergroupcallback]. possible dependencies [[managed bean [class org.jbpm.examples.util.rewardsusergroupcallback] qualifiers [@any @default], producer method [usergroupcallback] qualifiers [@any @default] declared [[method] @applicationscoped @produces public org.jbpm.kie.services.cdi.producer.defaultusergroupinfoproducer.producecallback()]]] @ org.jboss.weld.bootstrap.validator.validateinjectionpoint(validator.java:278) @ org.jboss.weld.bootstrap.validator.validateinjectionpoint(validator.java:244) @ org.jboss.weld.bootstrap.validator.validatebean(validator.java:107) @ org.jboss.weld.bootstrap.validator.validateribean(validator.java:127) @ org.jboss.weld.bootstrap.validator.validatebeans(validator.java:346) @ org.jboss.weld.bootstrap.validator.validatedeployment(validator.java:331) @ org.jboss.weld.bootstrap.weldbootstrap.validatebeans(weldbootstrap.java:366) @ org.jboss.as.weld.weldcontainer.start(weldcontainer.java:83) @ org.jboss.as.weld.services.weldservice.start(weldservice.java:76) ... 5 more
the defaultusergroupinfoproducer should marked alternative, , need specified in beans.xml pick up, case? if so, removing beans.xml should disable it.
Comments
Post a Comment