com.day.cq.wcm.api cannot be resolved | Community
Skip to main content
October 30, 2020
Solved

com.day.cq.wcm.api cannot be resolved

  • October 30, 2020
  • 4 replies
  • 22514 views

Hi All,

     Can any one provide me solution to resolve the following :      

  • com.day.cq.wcm.api,version=[1.29,2) -- Cannot be resolved
  • org.apache.sling.api.resource,version=[2.12,3) -- Cannot be resolved

Here I am using AEM 6.5 still I am using the latest Uberjar eventhen I am getting this issue 

Thanks,

Pavan

 

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 Vijayalakshmi_S

Hi @adobe_cq_dispat,

Can you let know if AEM 6.5 is a fresh install type or in-place upgraded instance?

Cross check

  • The below OOB bundles (which are not resolved - WCM and Sling resource API)and look for the version it is exporting and check it is active
  • Uber jar entry is in par with the AEM instance version

 If everything looks fine and still an issue, try to restart the framework if it is your local or any lower environments - http://localhost:4502/system/console/vmstat

4 replies

SureshDhulipudi
Community Advisor
Community Advisor
October 31, 2020

Is this issue happening in your local environment ?

Do you see any error in logs?, can you provide error log trace.

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
November 2, 2020

Hi @adobe_cq_dispat,

Can you let know if AEM 6.5 is a fresh install type or in-place upgraded instance?

Cross check

  • The below OOB bundles (which are not resolved - WCM and Sling resource API)and look for the version it is exporting and check it is active
  • Uber jar entry is in par with the AEM instance version

 If everything looks fine and still an issue, try to restart the framework if it is your local or any lower environments - http://localhost:4502/system/console/vmstat

May 4, 2021
Can you tell how to check uber jar version in aem 6.5. I checked root pom.xml and could not find dependency for it
sunjot16
Adobe Employee
Adobe Employee
November 2, 2020

* Is your uber jar version compatible with the exact version of your AEM 6.5 that you are using?

Example:

AEM: 6.x.y

Uber Jar: uber-jar-6.x.y-apis.jar

or

uber-jar-6.x.y-apis-with-deprecations.jar

 

Found another community article that might be helpful:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/com-day-cq-dam-core-cannot-be-resolved-in-aem-6-4/qaq-p/322990

 

AdeodatusNI
November 15, 2024

I faced a similar issue and found that the documentation provided a clear solution. you can check it out here

it helped me to resolve the problem, and i hope it works for you too. Good luck! Hope it helps! 🍀