java - OSGI knopflerfish missing packages or can not resolve oll oof them -


i have bundle jars dependencies not know why, when run bundle, can not resolve packages slf4j.jar.

this error showed knopflerfish:

warning: prefs file removed in background /root/.java/.userprefs/prefs.xml [stderr] ## debug: errors - frameworkerrorevent bundle #43 [stderr] ## debug: errors - frameworkerrorevent throwable:  [stderr] org.osgi.framework.bundleexception: bundle#43, unable resolve: missing package(s) or can not resolve of them: org.slf4j -- not resolve exporting bundle - org.slf4j;version=1.6.1 bundle[id=29,gen=0]. 

and bundle manifest:

manifest-version: 1.0 bundle-symbolicname: mapmatching export-package: its.fac.mapmatching.bundle, its.fac.mapmatching.impl,   its.fac.mapmatching.thread, its.fac.mapmatching.utils bundle-version: 1.0.4 bundle-name: mapmatching bundle-classpath: . bundle-activator: its.fac.mapmatching.bundle.activator bundle-manifestversion: 3 import-package: its.fac.mapmatching.services, its.fac.mapmatching.type  s, its.fac.poti.api.services, org.postgis, org.slf4j, its.fac.mapmatc  hing.factory, its.fac.poti.api.types, org.osgi.framework, org.osgi.ut  il.tracker 

you need install bundle exports package org.slf4j. don't know if there standard bundle in konpflerfish. in apache karaf use pax-logging purpose. think logback can provide this.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -