|NoClassDefFoundError problem [message #903235]
||Wed, 22 August 2012 11:39
| Vladimir Stevanovic
Registered: March 2010
I am trying to start bundle with Hibernate dependenies packed in a plan. I have basic setup with two bundles. One is interface bundle and the other one is service implementation bundle where Hibernate types are defined.
When I start service bundle I get java.lang.NoClassDefFoundError: org/hibernate/annotations/Entity.
Attached is full stack trace.
My service bundle is not importing org.hibernate.annotations package directly but I though that class loader from org.springframework.orm bundle should load it. org.springframework.orm is imported in my service bundle.
Any ideas? I would not like to import all packages from all libraries that requires hibernate.
Powered by FUDForum
. Page generated in 0.01846 seconds