I took quite a long time examining and thinking about this exception.  Right 
off the top of my head I don't exactly know what the problem is, but I think 
that the Weld Bootstrap (needed to provide the CDI container feature) is trying 
to verify that it can satisfy all the injection points (for deployment) and is 
failing on trying to satisfy a couple of those injection points.  If I had to 
figure out why, I'd put a breakpoint at 
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
 and see what that code is doing.  Now to do that you'll need the sources for 
Weld Bootstrap for the version you are using and I don't know where those are 
... but we should get them.

I'm in the middle of two things, but I will try to help later.  I'll stop by as 
soon as I can.

Kurt Reinke
Java Center of Excellence - Consulting Team
(313)32-24527 - Desk
(248)761-4370 - Cell

From: Esmailzada, Yasamin (Y.) [via Apache DeltaSpike Incubator Discussions] 
[mailto:[email protected]]
Sent: Friday, March 04, 2016 8:24 AM
To: Reinke, Curt (C.)
Subject: WELD-001408 error with CDI injection

I am trying to deploy a project in Websphere Libery Profile JavaEE7 with 
CDI-1.2 and JSF-2.2 but CDI injection fails with WELD-001408 error..  Any idea 
as of why CDI injection fails for below deltaspike classes?

[INFO    ] FFDC1015I: An FFDC Incident has been created: 
"org.jboss.weld.exceptions.DeploymentException: Exception List with 2 
exceptions:
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied 
dependencies for type MessageResolver with qualifiers @Default
  at injection point [BackedAnnotatedField] @Inject private 
org.apache.deltaspike.core.impl.message.DefaultMessageContext.messageResolver
  at 
org.apache.deltaspike.core.impl.message.DefaultMessageContext.messageResolver(DefaultMessageContext.java:0)

       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
       at 
org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
       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:60)
       at 
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
       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)
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied 
dependencies for type WindowContextQuotaHandler with qualifiers @Default
  at injection point [BackedAnnotatedField] @Inject private 
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder.windowContextQuotaHandler
  at 
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder.windowContextQuotaHandler(WindowBeanHolder.java:0)

       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
       at 
org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
       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:60)
       at 
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
       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)
com.ibm.ws.container.service.state.internal.ApplicationStateManager 32" at 
ffdc_16.03.03_16.32.30.0.log
[INFO    ] FFDC1015I: An FFDC Incident has been created: 
"com.ibm.ws.container.service.state.StateChangeException: 
org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions:
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied 
dependencies for type MessageResolver with qualifiers @Default
  at injection point [BackedAnnotatedField] @Inject private 
org.apache.deltaspike.core.impl.message.DefaultMessageContext.messageResolver
  at 
org.apache.deltaspike.core.impl.message.DefaultMessageContext.messageResolver(DefaultMessageContext.java:0)

       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
       at 
org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
       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:60)
       at 
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
       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)
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied 
dependencies for type WindowContextQuotaHandler with qualifiers @Default
  at injection point [BackedAnnotatedField] @Inject private 
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder.windowContextQuotaHandler
  at 
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder.windowContextQuotaHandler(WindowBeanHolder.java:0)

       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
       at 
org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
       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:60)
       at 
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
       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)
com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase 788" at 
ffdc_16.03.03_16.32.30.1.log
[ERROR   ] CWWKZ0106E: Could not start web application JabEAR.
[ERROR   ] CWWKZ0002E: An exception occurred while starting the application 
JabEAR. The exception message was: 
com.ibm.ws.container.service.state.StateChangeException: 
org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions:
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied 
dependencies for type MessageResolver with qualifiers @Default
  at injection point [BackedAnnotatedField] @Inject private 
org.apache.deltaspike.core.impl.message.DefaultMessageContext.messageResolver
  at 
org.apache.deltaspike.core.impl.message.DefaultMessageContext.messageResolver(DefaultMessageContext.java:0)

       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
       at 
org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
       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:60)
       at 
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
       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)
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied 
dependencies for type WindowContextQuotaHandler with qualifiers @Default
  at injection point [BackedAnnotatedField] @Inject private 
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder.windowContextQuotaHandler
  at 
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder.windowContextQuotaHandler(WindowBeanHolder.java:0)

       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
       at 
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
       at 
org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
       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:60)
       at 
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
       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)

[AUDIT   ] CWWKF0012I: The server installed the following features: 
[beanValidation-1.1, jaxws-2.2, localConnector-1.0, jdbc-4.1, ssl-1.0, 
appSecurity-2.0, cdi-1.2, usr:fordSecurity-1.0, servlet-3.1, jsf-2.2, jsp-2.3, 
jndi-1.0, distributedMap-1.0, jaxb-2.2, el-3.0].


________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/WELD-001408-error-with-CDI-injection-tp4662216.html
To start a new topic under Apache DeltaSpike Incubator Discussions, email 
[email protected]<mailto:[email protected]>
To unsubscribe from Apache DeltaSpike Incubator Discussions, click 
here<http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4249119&code=Y3JlaW5rZTNAZm9yZC5jb218NDI0OTExOXwtMjA4NDM2MTQyOA==>.
NAML<http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/WELD-001408-error-with-CDI-injection-tp4662216p4662217.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.

Reply via email to