Hi, looks like you do have an import for it in your bundle. So somewhere in your bytecode there seems to be an import for it. Maybe you've used a newer version while building, compared to what you've got when running.
regards, Achim 2017-10-09 8:42 GMT+02:00 David Leangen <[email protected]>: > > Hi! > > I am stumped. I am having a resolution issue in Karaf as follows: > > > org.osgi.framework.BundleException: Unable to resolve > net.leangen.expedition.platform.ddd.diag [101](R 101.0): missing > requirement [net.leangen.expedition.platform.ddd.diag [101](R 101.0)] > osgi.wiring.package; (&(osgi.wiring.package=*org.osgi.service.serializer* > )(version>=1.0.0)(!(version>=2.0.0))) Unresolved requirements: > [[net.leangen.expedition.platform.ddd.diag [101](R 101.0)] > osgi.wiring.package; (&(osgi.wiring.package=*org.osgi.service.serializer* > )(version>=1.0.0)(!(version>=2.0.0)))] > > > The problem is that there **is no package** org.osgi.service.serializer. > There is only org.apache.felix.serializer. > > I have gone through all my OBRs and repositories, but cannot find any > reference to that package. I even did a search in the Karaf code and did > not find any such reference. Since the package does not exist, the > resolution error is correct. The problem is: why is there a requirement on > that package in the first place?? > > > What am I missing?? > > > Thanks! > =David > > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
