xmlosgibundlesaxipojo

execute bundle who cintains xml parser (SAX)


i want to run bundle who contains code of parser xml(SAX) when i execute the commande start file:bundle's path i have a problem

this is the error msg

 -> start file:C:\felix\bundles\home.analyser-1.0.0.jar
org.osgi.framework.BundleException: Unresolved constraint in bundle home.analyse
r [13]: package; (package=org.xml.sax.helpers)

i try to search the jar file on the net but i don't found it

could someone help me


Solution

  • org.xml.sax.helpers package is part of the JDK. Your issue can be that this package is not included in the system packages of the OSGi container.

    In case you want to use it from a bundle instead of the JDK, you can install the org.everit.osgi.bundles.org.apache.xmlcommons.full bundle exports all packages of the Apache XMLCommons project and contains the apache implementation.