What's the version of the package exported by the system bundle? It
would appear it doesn't fall into the range required by dom4j.

Justin

On 1/13/11 9:32 PM, Rice Yeh wrote:
> Hi,
>   I use bundle com.springsource.org.dom4j, which imports javax.xml.stream
> package. The org.osgi.framework.system.packages does include
> javax.xml.stream. But dom4j just cannot starts up because missing
> javax.xml.stream. Should not system bundle will provide this package? The
> following is the error message.
> 
> ERROR: Error starting file:bundles/com.springsource.org.dom4j_1.6.1.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> com.springsource.org.dom4j [20]: Unable to resolve 20.0: missing requirement
> [20.0] package;
> (&(package=javax.xml.stream)(version>=1.0.1)(!(version>=2.0.0))) - [20.0]
> package; (&(package=javax.xml.stream)(version>=1.0.1)(!(version>=2.0.0))))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> com.springsource.org.dom4j [20]: Unable to resolve 20.0: missing requirement
> [20.0] package;
> (&(package=javax.xml.stream)(version>=1.0.1)(!(version>=2.0.0))) - [20.0]
> package; (&(package=javax.xml.stream)(version>=1.0.1)(!(version>=2.0.0)))
> 
> Rice
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to