org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type MyController with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private fr.perso.tutorial.cdiunit.controller.UUD.myController

Stack Overflow | cenote | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unit test : Produce mock for the unit under test in a parent test class

    Stack Overflow | 7 months ago | cenote
    org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type MyController with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private fr.perso.tutorial.cdiunit.controller.UUD.myController

    Root Cause Analysis

    1. org.jboss.weld.exceptions.DeploymentException

      WELD-001409: Ambiguous dependencies for type MyController with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private fr.perso.tutorial.cdiunit.controller.UUD.myController

      at fr.perso.tutorial.cdiunit.controller.UUD.myController()
    2. fr.perso.tutorial
      UUD.myController
      1. fr.perso.tutorial.cdiunit.controller.UUD.myController(UUD.java:0)
      1 frame