com.day.cq.wcm.tags,version=[6.1,7) -- Cannot be resolved | Community
Skip to main content
ashishkhadpe
Level 3
Apr 5, 2019 3:18 PM UTC
Solved

com.day.cq.wcm.tags,version=[6.1,7) -- Cannot be resolved

HI All,

I am upgrading from AEM 6.2 to AEM 6.4, I see that some packages can't be resolved. The description from the console is :

com.day.cq.wcm.tags,version=[6.1,7) -- Cannot be resolved

org.apache.sling.jcr.resource,version=[2.4,3) -- Cannot be resolved

I have also uber jar entry in my pom file as below :

<dependency>

   <groupId>com.adobe.aem</groupId>

   <artifactId>uber-jar</artifactId>

   <version>6.4.0</version>

   <classifier>apis</classifier>

   <scope>provided</scope>

</dependency>

Still getting above issue. Any suggestion on how it can be resolved?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Apr 9, 2019 8:37 PM UTC

On my local AEM 6.4 SP3, the bundle "com.day.cq.wcm.cq-wcm-taglib" exports the java package "com.day.cq.wcm.tags" in version 7.1.0.
And "org.apache.sling.jcr.resource" is not exported at all. What kind of classes do you want to import from there?

For me it seems that you haven't updated the POM properly, and that you are still trying to deploy an AEM 6.2 application into an AEM 6.4.

6 replies

joerghoh
joerghohAccepted solution
Employee
Apr 9, 2019 8:37 PM UTC

On my local AEM 6.4 SP3, the bundle "com.day.cq.wcm.cq-wcm-taglib" exports the java package "com.day.cq.wcm.tags" in version 7.1.0.
And "org.apache.sling.jcr.resource" is not exported at all. What kind of classes do you want to import from there?

For me it seems that you haven't updated the POM properly, and that you are still trying to deploy an AEM 6.2 application into an AEM 6.4.

Translate
Prince_Shivhare
New Participant
Apr 8, 2019 1:33 PM UTC
ashishkhadpe
Level 3
Apr 8, 2019 1:27 PM UTC

Hi Jorg,

Yes I have recompiled my application and deployed back again. No specific version mentioned as well in POM.

Do we have any deprecation in terms of above packages?

Translate
joerghoh
Employee
Apr 6, 2019 3:17 PM UTC

Have you recompiled your application and deployed it then to AEM? Have you statements in your pom which pin this import to a specific version (basically overriding the data provided by the uber jar)?

Translate
Prince_Shivhare
New Participant
Apr 6, 2019 2:23 AM UTC

Could you please check in dpfinder and check the version required?

Translate
smacdonald2008
Level 10
Apr 5, 2019 3:27 PM UTC

Your POM dependencies are not correct.

LOok at this article where we successfully use Tag Manager API in a 6.4 project -- Adobe Experience Manager Help | Developing HTL Components that search for Adobe Experience Manager 6.4 Content Tags

Translate