Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16430 Investigate TCK test failures in Jakarta Enterprise Beans 4.0.1
  3. WFLY-16433

Unsatisfied dependencies for @ManagedProperty in TCK ejb tests

XMLWordPrintable

    • ---
    • ---

      In server.log there are many occurrences of:

      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type String with qualifiers @ManagedProperty
        at injection point [BackedAnnotatedField] @Inject @ManagedProperty private com.sun.ts.tests.ejb30.common.lite.EJBLiteJsfClientBase.moduleName
        at com.sun.ts.tests.ejb30.common.lite.EJBLiteJsfClientBase.moduleName(EJBLiteJsfClientBase.java:0)
      
      WELD-001475: The following beans match by type, but none have matching qualifiers:
        - Producer Method [String] with qualifiers [@BatchProperty @Any] declared as [[UnbackedAnnotatedMethod] @Produces @BatchProperty public org.jberet.creation.BatchBeanProducer.getString(InjectionPoint)]
      "}}
      

      com.sun.ts.tests.ejb30.common.lite.EJBLiteJsfClientBase.moduleName:

        @jakarta.inject.Inject
        @jakarta.faces.annotation.ManagedProperty("#{facesContext.externalContext.requestContextPath}")
        private String moduleName;
      

      See Jakartaee TCK #1054 Fix vehicle mapping for ejb30/lite/enventry

       
      https://gist.github.com/scottmarlow/6f58ebbe66885cc08d45aec5da869f95 shows one of the failures that appears to be from deploying ejblite_appexception_singleton_inherited_ejbliteservlet2_vehicle_web.war which has both Client.class for running non-Faces tests and JsfClient.class for running Faces tests.
       

              bstansbe@redhat.com Brian Stansberry
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: