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

Avatar

Avatar

nchieffo

Avatar

nchieffo

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)

Avatar

Avatar

raghavc

Avatar

raghavc

raghavc

28-05-2020

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

 

Selection_037.png

Answers (2)

Answers (2)

Avatar

Avatar

hamidk92094312

Employee

Avatar

hamidk92094312

Employee

hamidk92094312
Employee

28-05-2020

Avatar

Avatar

hamidk92094312

Employee

Avatar

hamidk92094312

Employee

hamidk92094312
Employee

28-05-2020

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