You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Karl-Philipp Richter <kr...@aol.de> on 2014/06/19 13:06:07 UTC

Dependencies in 4.6.1-SNAPSHOT/4.6.1-20140513.040854-160

Hi together,
after updates of 4.6.1-SNAPSHOT to 4.6.1-20140513.040854-160, I
experience a lot of java.lang.NoClassDefFoundError errors in an long
chain, i.e. adding jars fix the errors, but cause others. Until now I added

    org.apache.openejb:openejb-core:4.6.1-SNAPSHOT

as test dependency and it has been sufficient. What other dependencies
do I need? Is there something like and openejb-all artifact? I rely on
4.6.1-SNAPSHOT due to


http://openejb.979440.n4.nabble.com/Hibernate-OpenEJB-in-embedded-unit-testing-td4667150.html

or has Hibernate/JEE7 support been integrated into 4.6.0.2 meanwhile/can
I use something different?

An example:

     java.lang.NoClassDefFoundError:
org/apache/webbeans/spi/SingletonService
	    at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:119)
	    at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:66)
	    at org.apache.openejb.OpenEJB.init(OpenEJB.java:297)
	    at org.apache.openejb.OpenEJB.init(OpenEJB.java:277)
	    at
org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:243)
	    at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
    [...]

Any help is appreciated.

All the best,
Kalle Richter


Re: Dependencies in 4.6.1-SNAPSHOT/4.6.1-20140513.040854-160

Posted by Andy Gumbrecht <ag...@tomitribe.com>.
Hi Kalle,

We currently do not support EE7, only EE6. The up coming TomEE 
1.7.0/OpenEJB 4.7.0 release will be the last EE6 branch.
After that we will be working on EE7 support with TomEE 2.0/OpenEJB 5.0.0

If you are using Hibernate make sure you are using the EE6 compatible 
version (JPA 2.0 - 4.2.13.Final).

And last but not least, you need to be using OpenEJB 4.7.0-SNAPSHOT in 
your pom now as 4.6.1-SNAPSHOT is no longer valid.

The latest version can also be downloaded here:

http://tomee.apache.org/download/tomee-1.7.0-snapshot.html

Andy.

On 19/06/2014 13:06, Karl-Philipp Richter wrote:
> Hi together,
> after updates of 4.6.1-SNAPSHOT to 4.6.1-20140513.040854-160, I
> experience a lot of java.lang.NoClassDefFoundError errors in an long
> chain, i.e. adding jars fix the errors, but cause others. Until now I added
>
>      org.apache.openejb:openejb-core:4.6.1-SNAPSHOT
>
> as test dependency and it has been sufficient. What other dependencies
> do I need? Is there something like and openejb-all artifact? I rely on
> 4.6.1-SNAPSHOT due to
>
>
> http://openejb.979440.n4.nabble.com/Hibernate-OpenEJB-in-embedded-unit-testing-td4667150.html
>
> or has Hibernate/JEE7 support been integrated into 4.6.0.2 meanwhile/can
> I use something different?
>
> An example:
>
>       java.lang.NoClassDefFoundError:
> org/apache/webbeans/spi/SingletonService
> 	    at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:119)
> 	    at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:66)
> 	    at org.apache.openejb.OpenEJB.init(OpenEJB.java:297)
> 	    at org.apache.openejb.OpenEJB.init(OpenEJB.java:277)
> 	    at
> org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:243)
> 	    at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
>      [...]
>
> Any help is appreciated.
>
> All the best,
> Kalle Richter
>

-- 
   Andy Gumbrecht

   http://www.tomitribe.com
   agumbrecht@tomitribe.com
   https://twitter.com/AndyGeeDe

   TomEE treibt Tomitribe! | http://tomee.apache.org