Using com.adobe.cq.wcm.core.components.internal.resource in my class | Community
Skip to main content
May 28, 2020
Solved

Using com.adobe.cq.wcm.core.components.internal.resource in my class

  • May 28, 2020
  • 3 replies
  • 6304 views

Can I use classes from package osgi.wiring.package=com.adobe.cq.wcm.core.components.internal.resource in my project?

I imported ImageResourceWrapper class, but when I install my package I get this error

 

Unable to resolve aemlutech.core [584](R 584.36): missing requirement [aemlutech.core [584](R 584.36)] osgi.wiring.package; (osgi.wiring.package=com.adobe.cq.wcm.core.components.internal.resource) Unresolved requirements: [[aemlutech.core [584](R 584.36)] osgi.wiring.package; (osgi.wiring.package=com.adobe.cq.wcm.core.components.internal.resource)]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by raghavc

No, wcm core bundle does not export the internal packages, So OSGI is unable to resolve the dependency. 

 

3 replies

Adobe Employee
May 28, 2020

How did you import the package ? i.e. in your "MNIFEST.MF" or as an embedded jar dependency ?

nchieffoAuthor
May 28, 2020
I just created a new project from the latest maven archetype, created a new class in core project, models package and used the ImageResourceWrapper class directly. No maven import and no MANIFEST.MF change (I don't even have it in my project)
Adobe Employee
May 28, 2020
raghavc
raghavcAccepted solution
Level 4
May 28, 2020

No, wcm core bundle does not export the internal packages, So OSGI is unable to resolve the dependency.