org.apache.webbeans.exception.WebBeansDeploymentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by 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]] 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)
    No Bugmate found.