1 Reply Latest reply on Aug 5, 2012 10:33 PM by Freeman(Yue) Fang

    Issue with Hibernate dependencies

    Vincent Mahe Newbie

      Hello everyone,


      I'm using apache-servicemix-4.4.1-fuse-07-11 and would like to use Hibernate 4.1.2 in one of my bundles in order to access a relational database.


      Since I have added the hibernate-core and javassist dependencies, I have many issues with other dependencies.

      I needed to add the following entries in my jre.properties file :

      com.sun.jdi, \

      com.sun.jdi.connect, \

      com.sun.jdi.event, \

      com.sun.jdi.request, \

      javax.security.jacc, \

      javax.validation, \

      javax.validation.constraints, \

      javax.validation.groups, \

      javax.validation.metadata, \


      And also the following embedded dependencies in my pom.xml file :



      Now, Fuse is still requiring the org.springframework.jdbc.datasource package.

      I can see that in the $FUSE_HOME/system/ directory there is already this dependency present but how can I use it in my bundle ?

      Do I need to launch some magic command under the Karaf Console ?