-
May 13th, 2008, 11:13 AM
#1
Import-Package not satisfied unless exporter and importer are in a PAR
Hello,
I have a strange problem here...
As the title suggests, if I have a bundle A exporting a package P, and another Bundle B importing this same package P, then, when starting s2AP, a nasty exception blows on my face :
com.springsource.platform.osgi.framework.UnableToS atisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'djo.cc.dt' at version '1.0.0': Cannot resolve: djo.cc.dt
Unsatisfied leaf constraints:
Bundle: djo.cc.dt_1.0.0 - Import-Package: djo.cc.foundation; version="0.0.0"
Did you mean: 'javax.activation'?
If I place the bundles A and B in a PAR, and deploy this PAR in S2AP, no problem at all.
Hell, this worked perfectly before (not grouping the exporter and the importer in the same par) ...
Anyway, here are some excerpts from my code:
-bundle A:
-manifest:
Manifest-Version: 1.0
Bundle-Version: 1.0.0
Bundle-Name: Foundation Bundle
Bundle-SymbolicName: djo.cc.foundation
Export-Package: djo.cc.foundation
- Bundle B:
- manifest:
Manifest-Version: 1.0
Bundle-Version: 1.0.0
Bundle-Name: Euro Bundle
Bundle-SymbolicName: djo.cc.euro
Import-Package: djo.cc.foundation
So, what I'm I doing wrong ?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules