We are using the OpenEJB snapshot as an embedded container for our integration 
testing.

Currently we get the message

"[WARNING] The POM for 
org.apache.openejb:openejb-core:jar:4.6.1-20140513.040854-160 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details“

in our builds.

And the Test fails with

[INFO] --- exec-maven-plugin:1.2.1:exec (create-test-dump) @ webapp ---
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/openejb/jee/EnterpriseBean
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.newInstance(Class.java:345)
at javax.ejb.embeddable.EJBContainer.findAllFactories(EJBContainer.java:122)
at javax.ejb.embeddable.EJBContainer.<clinit>(EJBContainer.java:40)
at 
de.nobiscum.7030.infrastructure.ejbtests.IntegrationTestDataProvider.createEJBContainer(IntegrationTestDataProvider.java:157)
at 
de.nobiscum.7030.infrastructure.ejbtests.IntegrationTestDataProvider.initialize(IntegrationTestDataProvider.java:143)
at 
de.nobiscum.7030.infrastructure.ejbtests.IntegrationTestDataProvider.main(IntegrationTestDataProvider.java:78)
Caused by: java.lang.ClassNotFoundException: 
org.apache.openejb.jee.EnterpriseBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 9 more

Is the current Snapshot broken?

Thanks for your help,
Markus Frisch

--
Markus Frisch
[Prokurist / Authorized Representative]
nobisCum Deutschland GmbH

[T] +49 9302 / 987 97 - 2633
[M] +49 173 / 91 88 058
[@] markus.fri...@nobiscum.de<mailto:markus.fri...@nobiscum.de>
[URL] http://www.nobisCum.de

[Anschrift] Ostring 2-4, 97228 Rottendorf, Germany
[Registergericht] Würzburg, HRB 5159
[Geschäftsführer] Herbert Stieglitz, Hans-Peter Holl










Reply via email to