0 Replies Latest reply on Apr 22, 2013 12:41 AM by deepbluez

    BundleException: Unable to resolve package; (package=org.apache.felix.scr.annotations)

    deepbluez Level 1

      Hi guys,

       

      My bundle is installed but not active:

       

      Got the following errors in my log:

       

      org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundle (bundle ID=1246) : myservlet.bundle. Reason: org.osgi.framework.BundleException: Unresolved constraint in bundle myservlet.bundle [1246]: Unable to resolve 1246.0: missing requirement [1246.0] package; (package=org.apache.felix.scr.annotations). Will retry.

       

      org.apache.felix.scr.annotations is imported and included in the bnd file.

       

      In Felix console I get this:

       

      org.apache.felix.scr from org.apache.felix.scr (41)

      org.apache.felix.scr.annotations -- Cannot be resolved

      org.apache.felix.scr.annotations.sling -- Cannot be resolved

      org.apache.sling.api from org.apache.sling.api (92)

      org.apache.sling.api.resource from org.apache.sling.api (92)

      org.apache.sling.api.servlets from org.apache.sling.api (92)

      org.ietf.jgss from org.apache.felix.framework (0)

      org.osgi.framework from org.apache.felix.framework (0)

      org.slf4j from slf4j.api (11)

      org.w3c.dom from org.apache.felix.framework (0)

      org.xml.sax from org.apache.felix.framework (0)

       

      Just can't figure out what else  need to be done to have org.apache.felix.scr.annotations resolved?

       

      Thanks!!!