Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.6.Final
    • Fix Version/s: 1.1.0.Alpha1, 1.0.7.Final
    • Component/s: None
    • Labels:
      None
    • Affects:
      Release Notes

      Description

      org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.TarantulaConsumer defines the following injection point:

      @Inject
      @Any
      private Tarantula consumedTarantula;
      

      however, there are multiple beans eligible to the injection point and therefore the deployment fails with AmbiguousDependencyResolutionException:

      WELD-001409 Ambiguous dependencies for type [Tarantula] with qualifiers [@Any] at injection point [[field] @Inject @Any private org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.TarantulaConsumer.consumedTarantula]. Possible dependencies [[Managed Bean [class org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.DefangedTarantula] with qualifiers [@Any @Default], Producer Field [Tarantula] with qualifiers [@Any @Static] declared as [[field] @Static @Produces public static org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.StaticTarantulaProducer.produceTarantula], Managed Bean [class org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.Tarantula] with qualifiers [@Any @Default], Producer Field [Tarantula] with qualifiers [@Any @Default] declared as [[field] @Produces public org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.SpecializedTarantulaProducer.produceTarantula]]]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                jharting Jozef Hartinger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: