You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Bengt Rodehav <be...@rodehav.com> on 2012/11/15 10:32:36 UTC

The saxon bundle cannot find import org.apache.xml.resolver

I'm trying to use the following bundle:

org.apache.servicemix.bundles.saxon-9.4.0.4_1

When I deploy this in Karaf 2.3.0 I get:

Unresolved constraint in bundle org.apache.servicemix.bundles.saxon [164]:
Unable to resolve 164.0: missing requirement [164.0] osgi.wiring.package;
(osgi.wiring.package=org.apache.xml.resolver)

>From where is the Saxon bundle supposed to import this package? What do I
need to install?

Thanks,

/Bengt

Re: The saxon bundle cannot find import org.apache.xml.resolver

Posted by Bengt Rodehav <be...@rodehav.com>.
For anyone interested...

I installed the latest ServiceMix version and found out what bundle
exported the org.apache.xml.resolver. It turned out to be the
org.apache.servicemix.bundles.xmlreslover bundle.

I then ran:

install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/1.2_5

Followed by:

install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon/9.4.0.4_1

... and everything works like a charm.

/Bengt



2012/11/15 Bengt Rodehav <be...@rodehav.com>

> I'm trying to use the following bundle:
>
> org.apache.servicemix.bundles.saxon-9.4.0.4_1
>
> When I deploy this in Karaf 2.3.0 I get:
>
> Unresolved constraint in bundle org.apache.servicemix.bundles.saxon [164]:
> Unable to resolve 164.0: missing requirement [164.0] osgi.wiring.package;
> (osgi.wiring.package=org.apache.xml.resolver)
>
> From where is the Saxon bundle supposed to import this package? What do I
> need to install?
>
> Thanks,
>
> /Bengt
>