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)]
Solved! Go to Solution.
Views
Replies
Total Likes
No, wcm core bundle does not export the internal packages, So OSGI is unable to resolve the dependency.
How did you import the package ? i.e. in your "MNIFEST.MF" or as an embedded jar dependency ?
Views
Replies
Total Likes
Views
Replies
Total Likes
check "similar" issue here. It could help you to solve it:
Views
Replies
Total Likes
No, wcm core bundle does not export the internal packages, So OSGI is unable to resolve the dependency.