You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Rice Yeh <ri...@gmail.com> on 2011/01/14 03:32:37 UTC

why javax.xml.stream from system package cannot satisfy dom4j's need

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

Re: why javax.xml.stream from system package cannot satisfy dom4j's need

Posted by Justin Edelson <ju...@gmail.com>.
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-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org