title: CDI Beans module deployment failed: couldn't start owb context
body: <p>I have a Maven project. The build runs properly including tests. But when I run the tests only using Eclipse Luna, then the tests fail:</p>
  
  <pre><code>javax.enterprise.event.ObserverException: Caught Exception while handling event object with type : org.apache.webbeans.portable.events.discovery.AfterBeanDiscoveryImpl
  ...
  Caused by: java.lang.AbstractMethodError: org.apache.webbeans.container.InjectableBeanManager.getInjectionTargetFactory(Ljavax/enterprise/inject/spi/AnnotatedType;)Ljavax/enterprise/inject/spi/InjectionTargetFactory;
      at com.sun.faces.util.cdi11.CDIUtilImpl.createHelperBean(CDIUtilImpl.java:76)
      at com.sun.faces.flow.FlowCDIExtension.afterBeanDiscovery(FlowCDIExtension.java:120)
      ... 60 more
  INFO - Undeploying app: .../classpath.ear
  org.apache.openejb.OpenEJBException: Creating application failed: /home/schnikow/projects/barbuchon2/BarbuchonKernel-2.0r0b-SNAPSHOT/classpath.ear: couldn't start owb context
  
  (full stack trace is too long, I can provide it if needed)
  </code></pre>
  
  <p>I've add the needed JVM argument (<code>-javaagent:/usr/devel/apache-tomee-webprofile-1.7.1/lib/openejb-javaagent.jar</code>) in the launch configuration. I may miss something trivial, but I haven't any idea, what.</p>
  
  <p>I use Eclipse Luna and Tomee embedded EJB container running on Java 8 virtual machine.</p>