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>
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>
Thanks you. You save my day.
ReplyDeletethanks Kishore
ReplyDelete