dbrosius
May 24th, 2008, 02:39 AM
I'm getting this error message with one of my bundles
Package uses conflict: Import-Package: org.springframework.beans.factory.support; version="0.0.0"
Now i take this to mean that there are two bundles that provide the package org.springframework.beans.factory.support, and further because one of my export-package items doesn't specify that it uses the above, two different bundles are being used for this above package.
However In eclipse, when i do open type (ctrl-T), and type
org.springframework.beans.factory.support.
I only get one jar file that has this interface.
So the question is, how does one figure out what bundle's manifest is causing the problem and for what package's Export-Package line is missing the appropriate uses=?? line.
I clicked the 'Calculate Uses" button in eclipse for my bundle, but none of my exported packages need beans.factory.support, so it adds nothing. I suppose the other one could be pulled in from other spring bundles, i don't know.
I just don't see if eclipse can only find it once, how this error could be happening.
Package uses conflict: Import-Package: org.springframework.beans.factory.support; version="0.0.0"
Now i take this to mean that there are two bundles that provide the package org.springframework.beans.factory.support, and further because one of my export-package items doesn't specify that it uses the above, two different bundles are being used for this above package.
However In eclipse, when i do open type (ctrl-T), and type
org.springframework.beans.factory.support.
I only get one jar file that has this interface.
So the question is, how does one figure out what bundle's manifest is causing the problem and for what package's Export-Package line is missing the appropriate uses=?? line.
I clicked the 'Calculate Uses" button in eclipse for my bundle, but none of my exported packages need beans.factory.support, so it adds nothing. I suppose the other one could be pulled in from other spring bundles, i don't know.
I just don't see if eclipse can only find it once, how this error could be happening.