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

nchieffo

28-05-2020

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)]

Accepted Solutions (1)

Accepted Solutions (1)

Answers (2)

Answers (2)

hamidk92094312

Employee

28-05-2020

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