Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

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

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

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

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

Avatar

Level 10

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

 



 

Avatar

Level 2

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

Avatar

Level 2

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