jbonofre wrote > To create bundle, the easiest way is to use maven-bundle-plugin from > Felix. > For instance, all ServiceMix bundles uses this plugin. > > On the other hand, Karaf provides wrap support. In a feature or shell, > you can use something like: > > wrap:mvn:groupId/artifactId/version > > Karaf also provides jpa supports leveraging Aries.
Yes I know. I use wrap for the jdbc driver in postgres. And I use the maven-bundle-plugin with BOM that it really great to use. The problem is that I have issues related to the runtime that I'm not able to solve. Even if the bundle seems ok. And libraries versions seems to match. This exact pack of library versions are working without problems in tomcat. So... Where is the problem? Why Spring is not able to see the class? The classes are exported because I saw the MANIFEST file. And classes are in the package. It also installed without problem. But when it starts to run it fails because java.lang.NoClassDefFoundError. Spring-orm says that hibernate version should be >=3.2.0 <4.0.0 So 3.6.10.Final should be okay. So if everything is done as documentation says. Why this does not work? Provisioning is not working well for me here... ------- So question is: How do you use to solve this kind of problems? What's the methodology? Debug? How can I see what classes can the container see when this piece of code is executed? Thank's a lot for your support! -- View this message in context: http://karaf.922171.n3.nabble.com/Why-this-library-hell-Hibernate-Spring-Mess-tp4027506p4027517.html Sent from the Karaf - User mailing list archive at Nabble.com.
