Skip to main content
Level 2
September 23, 2024
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
September 23, 2024

2 replies

MukeshYadav_
Community Advisor
MukeshYadav_Community AdvisorAccepted solution
Community Advisor
September 23, 2024
kautuk_sahni
Adobe Employee
Adobe Employee
September 25, 2024

@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