April 26, 2020
Estimated Post Reading Time ~

com.adobe.cq.sightly,version=[2.5,3) -- Cannot be resolved

If you are migrating to AEM 6.3/AEM 6.4 then you may face the below issue
com.adobe.cq.sightly,version=[2.5,3) -- Cannot be resolved

Solution:
Add correct uber-jar version in pom.xml
<dependency>
 <groupId>com.adobe.aem</groupId>
 <artifactId>uber-jar</artifactId>
 <version>6.4.0</version>
 <classifier>apis</classifier>
 <scope>provided</scope>
</dependency>

If still issue exists, then add below in import package
<Import-Package>com.adobe.cq.sightly;version=2.5.3,*</Import-Package>


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.