org.apache.webbeans.exception.WebBeansDeploymentException: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [javax.persistence.EntityManagerFactory] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : emf, Bean Owner : [HumanTaskServiceProducer, WebBeansType:MANAGED, Name:null, API Types:[org.jbpm.services.cdi.producer.HumanTaskServiceProducer,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]

Hibernate JIRA | Vijay Addhankki | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hi, I am facing the below issue while deploying my code with the above combination. Error: 11-Jul-2016 13:38:13.545 INFO [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container is starting... 11-Jul-2016 13:38:13.561 INFO [localhost-startStop-1] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [CdiPlugin] 11-Jul-2016 13:38:13.561 INFO [localhost-startStop-1] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] 11-Jul-2016 13:38:14.045 INFO [localhost-startStop-1] org.apache.openejb.cdi.CdiScanner.handleBda Using annotated mode for file:/D:/apache-tomee-plus-7.0.1/apps/ibbis-ear-1.0_A0/ibbis-hm-web-1.0_A0/WEB-INF/lib/cdi-api-2.0-EDR1.jar looking all classes to find CDI beans, maybe think to add a beans.xml if not there or add the jar to exclusions.list 11-Jul-2016 13:38:14.518 SEVERE [localhost-startStop-1] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans module deployment failed org.apache.webbeans.exception.WebBeansDeploymentException: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [javax.persistence.EntityManagerFactory] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : emf, Bean Owner : [HumanTaskServiceProducer, WebBeansType:MANAGED, Name:null, API Types:[org.jbpm.services.cdi.producer.HumanTaskServiceProducer,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:325) at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196) at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:193) at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:60) at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1382) Can someone please help to resolve this issue. This is working absolutely fine with Hibernate4.2, JBPM6.0 and Hibernate-jpa-2.0 in tomcat.

    Hibernate JIRA | 7 months ago | Vijay Addhankki
    org.apache.webbeans.exception.WebBeansDeploymentException: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [javax.persistence.EntityManagerFactory] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : emf, Bean Owner : [HumanTaskServiceProducer, WebBeansType:MANAGED, Name:null, API Types:[org.jbpm.services.cdi.producer.HumanTaskServiceProducer,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]
  2. 0

    War deployment with katharsis-cdi dependency fails on TomEE 7.0.2

    GitHub | 2 months ago | Sandmania
    org.apache.webbeans.exception.WebBeansDeploymentException: javax.enterprise.inject.UnproxyableResolutionException: WebBeans with api type with normal scope must be proxyable. io.katharsis.cdi.internal.CdiTransactionRunner has no explicit no-arg constructor!A public or protected constructor without args is required!

    1 unregistered visitors

    Root Cause Analysis

    1. org.apache.webbeans.exception.WebBeansDeploymentException

      javax.enterprise.inject.UnsatisfiedResolutionException: Api type [javax.persistence.EntityManagerFactory] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : emf, Bean Owner : [HumanTaskServiceProducer, WebBeansType:MANAGED, Name:null, API Types:[org.jbpm.services.cdi.producer.HumanTaskServiceProducer,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]

      at org.apache.webbeans.config.BeansDeployer.deploy()
    2. OpenWebBeans Core
      BeansDeployer.deploy
      1. org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:325)
      1 frame
    3. OpenEJB :: OSGi :: Core
      CdiBuilder.build
      1. org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196)
      2. org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:193)
      3. org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:60)
      3 frames
    4. OpenEJB :: TomEE :: Catalina
      TomcatWebAppBuilder.startInternal
      1. org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1382)
      1 frame