Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Bundle dependency problems
Bundle dependency problems [message #584971] Thu, 13 November 2008 15:52
Christoph Jäger is currently offline Christoph JägerFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I have created some bundles to build an RCP application. In these bundles,
I use some third party libraries, like spring (and all of those things
they depend on). I managed to get a working RCP application with SpringDM.

For including the third party libraries, I use the bundles provided by the
springsource osgi bundle repository (they work nicely most of the time).

Now my application needs some knowledge about hibernate. My target
platform contains the necessary bundles (I created a bundle for using it
on the server side, it uses hibernate, and compiles and exports without
problems).

So I add the hibernate bundle to the dependencies of my RCP application.
Now, when I try to start the application (either from "Testing -> Launch
an Eclipse application" in plugin.xml, or from the production definition),
I get the following error message:

Package uses conflict: Require-Bundle: com.springsource.org.hibernate;
bundle-version="3.2.6"

Starting from plugin.xml, I get this in a dialog titled "Validation", and
from the product definition, the splash screen comes up, then the program
stops and I find above error message in the generated log file.

The hibernate bundle is there, I can use it from a different bundle. I can
add it to the dependencies, I can double click it there and see the
Manifest. But for some reason, Eclipse can not resolve it during
validation for starting the RCP application. The problem is, besides the
error message above, I do not see any hints as to what went wrong.

Any ideas? Where do I have to look?

Thanks.
Previous Topic:Bundle dependency problems
Next Topic:The superclass hierarchy for XXX has been reduced
Goto Forum:
  


Current Time: Thu Aug 05 22:33:09 GMT 2021

Powered by FUDForum. Page generated in 0.04339 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top