Hi,

I tried different versions but I still have error. With :

<dependency>
      <groupId>org.apache.openejb</groupId>
      <artifactId>javaee-api</artifactId>
      <version>6.0-SNAPSHOT</version>
      <scope>provided</scope>
</dependency>
<dependency>
      <groupId>org.apache.openejb</groupId>
      <artifactId>openejb-core</artifactId>
      <version>3.2-SNAPSHOT</version>
      <scope>test</scope>
</dependency>

I got :

Caused by: java.lang.NoSuchMethodError:
org.apache.webbeans.portable.events.discovery.BeforeBeanDiscoveryImpl:
method <init>()V not found
        at
org.apache.openejb.cdi.BeansDeployer.fireBeforeBeanDiscoveryEvent(BeansDeployer.java:154)
        at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:146)
        at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:55)
        at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:46)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:649)
        ... 43 more


I also tried to patch the jpa-hibernate projet without much success. I go
from ClassNotFoundException to AbstractMethodException and so on... Does
anyone have a working test projet to share (using Hibernate as JPA2.0
provider with openejb) ?
-- 
View this message in context: 
http://openejb.979440.n4.nabble.com/OpenEJB-with-Hibernate-3-5-x-as-JPA2-provider-tp2241747p3232009.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to