Skip navigation
Currently Being Moderated

import cannot be resolved issue

May 31, 2013 3:39 AM

Tags: #bundle #cq5.4



    I had installed a project package in my package manager. It has src.bnd bundle file which includes all my java classes. Eventhough i build the bundle (bundle is active in console also); the package in the bundle is not resolved. When i checked the referenced libraries in the project explorer; the bundle was not installed there automatically.



Can any one say what is the issue ? How can i resolve it. Because each time i cannot manually add the JAR to the referenced libraries








  • Currently Being Moderated
    May 31, 2013 11:07 AM   in reply to Veena_07

    Hi Veena,


    When any bundle deploys in felix console it resolves all its package import via taking reference of api shared through other bundles using export-package property set in bundle. Where as when you work on same bundle using any editor (for example CRXDE ) you will not get those export api support here and you have to manually add/configure to your application as we normally do for other java application (and if you are using any build tool like Maven then API dependencies should be resolved through adding those dependencies in pom.xml)


    I hope it clarifies your doubt. Let me know for more information.




    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points