Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-114

batchee-cdi blows up with AmbigiousResolutionException on wildfly 10.1.0.Final

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.5-incubating
    • None
    • batchee-extensions
    • None

    Description

      stacktrace:

      org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type JobContext with qualifiers @Default
        at injection point [BackedAnnotatedField] @Inject private org.apache.batchee.cdi.listener.BeforeJobScopeListener.jobContext
        at org.apache.batchee.cdi.listener.BeforeJobScopeListener.jobContext(BeforeJobScopeListener.java:0)
        Possible dependencies:
        - Producer Method [JobContext] with qualifiers [@Any @Default] declared as [[UnbackedAnnotatedMethod] @Produces public org.jberet.creation.BatchBeanProducer.getJobContext()],
        - Producer Method [JobContext] with qualifiers [@Any @Default] declared as [[UnbackedAnnotatedMethod] @Produces public org.apache.batchee.container.cdi.BatchProducerBean.getJobContext()]
      

      Attachments

        Activity

          People

            rsandtner Reinhard Sandtner
            rsandtner Reinhard Sandtner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: