Expand my Community achievements bar.

SOLVED

I am getting error when building core bundle. Errors are com.day.cq.wcm.api,version=[1.31,2) -- Cannot be resolved,org.apache.sling.api.request,version=[2.7,3) -- Cannot be resolved org.apache.sling.api.resource,version=[2.13,3) -- Cannot be resolved

Avatar

Level 2

I have built the maven project with below command.

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.8.6:generate -D archetypeGroupId=com.test.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=39 -D appTitle=”Test Project” -D appId=”test” -D groupId=”com.test” -D frontendModule=general -D includeExamples=y

 

 

Tried to add required dependencies in core pom, main pom, still the issue is unresolved. can anyone please help me on this.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor

Hi @mohanbudda ,

Seem need to update the sdk (latest) or check compatiblity.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/quot-org-apache-sling-api-...

If it is non cloud version then please make sure to install the required service pack.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/com-day-cq-wcm-api-cannot-...

Thanks

Avatar

Administrator

@mohanbudda Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni