javax.enterprise.inject.UnsatisfiedResolutionException: Api type [javax.enterprise.inject.spi.BeanManager] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Method Injection Point, method name : beforeBeanDiscovery, Bean Owner : [CDIExtension, Name:null, WebBeans Type:EXTENSION, API Types:[java.lang.Object,javax.enterprise.inject.spi.Extension,com.sun.jersey.server.impl.cdi.CDIExtension], Qualifiers:[javax.enterprise.inject.Default]]

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.

  • Simple RESTful service
    via by Ghetolay,
  • Users - Simple RESTful service
    via by Unknown author,
  • Re: Simple RESTful service
    via by Ivan,
  • TomEE non vuole partire - NGI Forum
    via by Unknown author,
  • Issue on deploying Kie-wb on WebShpere 8
    via Stack Overflow by James Zhang
    ,
  • JMSContext injection cannot be resolved
    via by Unknown author,
  • When deploying a EJB jar as OSGI bundle, I get this error in the log 2011-12-21 16:24:33,750 | ERROR | lixDispatchQueue | Deployer | .openejb.core.osgi.impl.Deployer 105 | 119 - org.apache.openejb.core-osgi - 4.0.0.beta-2-SNAPSHOT | can't deploy bundle #124 org.apache.openejb.OpenEJBException: Creating application failed: /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4-ejb/data/cache/bundle124/version0.0/bundle.jar: couldn't start owb context at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:885)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:497)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:493)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:96)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:63)[119:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT] at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)[org.apache.felix.framework-3.0.9.jar:] at java.lang.Thread.run(Thread.java:680)[:1.6.0_29] Caused by: java.lang.RuntimeException: couldn't start owb context at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:109)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:50)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:754)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 10 more Caused by: java.lang.RuntimeException: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.superbiz.cdi.basic.Faculty] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : faculty, Bean Owner : [Course, Name:null, WebBeans Type:ENTERPRISE, API Types:[org.superbiz.cdi.basic.Course,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:318)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:107)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 12 more Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.superbiz.cdi.basic.Faculty] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field name : faculty, Bean Owner : [Course, Name:null, WebBeans Type:ENTERPRISE, API Types:[org.superbiz.cdi.basic.Course,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:98)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:193)[94:openwebbeans-impl:1.1.1] at org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1148)[94:openwebbeans-impl:1.1.1] at org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:262)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:215)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:285)[115:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] ... 13 more
    via by Charles Moulliard,
    • javax.enterprise.inject.UnsatisfiedResolutionException: Api type [javax.enterprise.inject.spi.BeanManager] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Method Injection Point, method name : beforeBeanDiscovery, Bean Owner : [CDIExtension, Name:null, WebBeans Type:EXTENSION, API Types:[java.lang.Object,javax.enterprise.inject.spi.Extension,com.sun.jersey.server.impl.cdi.CDIExtension], Qualifiers:[javax.enterprise.inject.Default]] at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92) at org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:98) at org.apache.webbeans.container.InjectionResolver.getInjectionPointBean(InjectionResolver.java:265) at org.apache.webbeans.event.ObserverMethodImpl.getMethodArguments(ObserverMethodImpl.java:387) at org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:203) at org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:461) at org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:473) at org.apache.openejb.cdi.BeansDeployer.fireBeforeBeanDiscoveryEvent(BeansDeployer.java:146) at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:194) at org.apache.geronimo.openejb.cdi.OpenWebBeansWebInitializer.newWebBeansContext(OpenWebBeansWebInitializer.java:108) at org.apache.geronimo.tomcat.GeronimoStandardContext.setContextProperties(GeronimoStandardContext.java:276) at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:304) at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:578) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1000) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:555) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:45) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344) at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1450) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:90) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1285) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1390) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:807) at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transport$1.run(Transport.java:177) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:173) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679)
    No Bugmate found.