Skip to main content
Level 2
Sep 23, 2024 8:08 AM UTC
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

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MukeshYadav_
MukeshYadav_Accepted solution
Community Advisor
Sep 23, 2024 9:18 AM UTC

2 replies

MukeshYadav_
Community Advisor
MukeshYadav_Community AdvisorAccepted solution
Community Advisor
Sep 23, 2024 9:18 AM UTC
kautuk_sahni
Level 9
Sep 25, 2024 12:31 PM UTC

@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!

Translate
Kautuk Sahni