-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
2.0.0.Beta6
-
None
This injection resolves in the 1.1.8.Final version
@Inject
StepContext<Integer, Externalizable> stepCtx;
....
@Produces
@Dependent
public StepContext getStepContext()
but fails to resolve in any of the Weld 2.0.0 builds, including the latest Beta6 build.
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [StepContext<Integer, Externalizable>] with qualifiers [@Default] at injection point [[BackedAnnotatedField
] @Inject com.ibm.jbatch.tck.artifacts.specialized.ChunkOnErrorCheckpointListener.stepCtx]
at java.lang.Throwable.<init>(Throwable.java:67)
at javax.enterprise.inject.spi.DeploymentException.<init>(DeploymentException.java:36)
at org.jboss.weld.exceptions.DeploymentException.<init>(DeploymentException.java:44)
at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:380)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:313)
at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:176)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:207)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:501)
at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:69)
at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:67)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)