I think it has a problem that
needs com.sun.org.apache.xml.internal.resolver
com.sun.org.apache.xml.internal.resolver.tools
package. Not sure, but so it seems to me as these are no longer provided
with jre9+. But also not sure if xmlbeans is java 9+ compliant or not.

Andrei

On Wed, Sep 15, 2021 at 2:42 PM Jean-Baptiste Onofré <[email protected]>
wrote:

> By the way, I think xmlbeans 5.0.1_1 bundle is not correct.
>
> I see some mistakes in the import (especially,
> org.apache.xmlbeans.impl.* should be private, not imported,
> org.apache.maven* should be optional, com.github* should be optional as
> well).
>
> I will release a new clean xmlbeans 5.0.1 bundle version (5.0.1_2).
>
> Regards
> JB
>
> On 15/09/2021 12:50, Andrei Petru Mura wrote:
> > Hi all,
> >
> > I'm trying to upgrade to karaf 4.3.2. In the process, I try to install
> > xmlbeans with:
> > bundle:install -s
> >
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlbeans/5.0.1_1
> >
> > and it gives me this error:
> >
> > Error starting bundle 241: Unable to resolve
> > org.apache.servicemix.bundles.xmlbeans [241](R 241.0): missing
> > requirement [org.apache.servicemix.bundles.xmlbeans [241](R 241.0)]
> > osgi.wiring.package;
> > (osgi.wiring.package=com.sun.org.apache.xml.internal.resolver)
> > Unresolved requirements: [[org.apache.servicemix.bundles.xmlbeans
> > [241](R 241.0)] osgi.wiring.package;
> > (*osgi.wiring.package=com.sun.org.apache.xml.internal.resolver*)]
> >
> > I added this package in $KARAF_HOME/etc/jre.properties, under jre-1.8
> > variable. It looks something like:
> >
> > jre-1.8= \
> >   ${jre-base}, \
> >   java.time, \
> > ...
> >   com.sun.nio.sctp, \
> >   com.sun.org.apache.xml.internal.resolver
> >
> > jre-9= \
> >   ${jre-base}, \
> > ...
> >
> > But still no luck.
> > Do you have any suggestions on this?
> >
> > Thanks,
> > Andrei
>

Reply via email to