CRXDE setup issue - Import org.apache.sling.commons cannot be resolved | Community
Skip to main content
Level 2
October 16, 2015
Solved

CRXDE setup issue - Import org.apache.sling.commons cannot be resolved

  • October 16, 2015
  • 4 replies
  • 1637 views

When I develop bundles using CRXDE I have lots of import problems such as:

  • Import org.apache.sling.commons cannot be resolved
  • Import com.day.commons cannot be resolved
  • Import org.apache.sling.api cannot be resolved

Do you have any ideas how I can solve this?

Note: please, take into account that I can successfully build my bundle. But while developing the code I see these warning from CRXDE. Because of that I cannot automatically resolve my imports.

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 Sham_HC

In package share you will find missing libs library. Have you installed it based on AEM version?

http://forums.adobe.com/message/5152463

4 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

In package share you will find missing libs library. Have you installed it based on AEM version?

http://forums.adobe.com/message/5152463

smacdonald2008
Level 10
October 16, 2015

Have you considered building OSGi bundles using Maven and using a POM file. For an example -- see this community article:

http://scottsdigitalcommunity.blogspot.ca/2013/02/querying-adobe-experience-manager-data.html

 



 

jvyrusAuthor
Level 2
October 16, 2015

Thank you! This article was very useful. I will deffinitely consider developing with maven+eclipse.

jvyrusAuthor
Level 2
October 16, 2015

Thank you very much! Installing those libraries into CRX DE solved the issue!