Re: [jdf-users] New comment posted on deltaspike-projectstage: Demonstrate usage of DeltaSpike project stage and shows usage of a conditional @Exclude
by Disqus
Esteve <eavilesa(a)gmail.com> wrote:
Hi,
If you add deltaspike jsf module I get the following exception:
15:06:32,818 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."ocicommerce.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."ocicommerce.war".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [ProjectStage] with qualifiers [@Default] at injection point [[field] @Inject private org.apache.deltaspike.jsf.spi.scope.window.DefaultClientWindowConfig.projectStage]. Possible dependencies [[Producer Method [ProjectStage] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public cat.tmb.tdo.ocicommerce.view.utils.JSFResources.currentProjectStage()], Producer Method [ProjectStage] with qualifiers [@Any @Default] declared as [[method] @Produces @Dependent @Default public org.apache.deltaspike.core.util.ProjectStageProducer.getProjectStage()]]]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
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_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [ProjectStage] with qualifiers [@Default] at injection point [[field] @Inject private org.apache.deltaspike.jsf.spi.scope.window.DefaultClientWindowConfig.projectStage]. Possible dependencies [[Producer Method [ProjectStage] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public cat.tmb.tdo.ocicommerce.view.utils.JSFResources.currentProjectStage()], Producer Method [ProjectStage] with qualifiers [@Any @Default] declared as [[method] @Produces @Dependent @Default public org.apache.deltaspike.core.util.ProjectStageProducer.getProjectStage()]]]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
... 5 more
Thanks
IP address: 95.62.170.204
Link to comment: http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fquickst...
-----
Options: You can moderate through email. Respond in the body with "Delete". Reply with "Like" to like this comment, or respond with anything else to approve this comment and post your message as a reply comment.
Or use the moderate panel: http://jdf.disqus.com/admin/moderate/#/pending
Stop receiving notifications when new comments are posted:
http://disqus.com/account/#notifications
10 years, 11 months