|References from Bundle-ClassPath [message #134398]
||Mon, 06 July 2009 03:22
Registered: July 2009
I'm trying to make an OSGi bundle that invokes a method from an existing
Java application (non-OSGi) that uses Hibernate.
I have created a JAR file from the existing application (ref.
TestHibernate.jar) and I have also added the following to the bundle
I have deployed this new bundle to Equinox, but when starting such bundle
I get an exception:
Caused by: java.lang.NoClassDefFoundError: org/hibernate/HibernateException
I should also say that the very first "import" from my existing
application is in fact:
So, my question is: should I also add to "Bundle-ClassPath" all the JAR
that are used to build my existing application?
And, more important, is this "Bundle-ClassPath" info the only required
thing to specify when making the JAR to deploy to Equinox?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01651 seconds