Uber upgrade from 6.5.3 to 6.5.13 : Compilation error | Community
Skip to main content
shijuc94592906
New Member
October 31, 2023
Solved

Uber upgrade from 6.5.3 to 6.5.13 : Compilation error

  • October 31, 2023
  • 1 reply
  • 519 views

We upgraded AEM SP to 6.5.17 from 6.5.12. We had uber-jar at 6.5.3.6 and now we are upgrading that to 6.5.13. While compiling after upgrade, getting below error 

The import com.day.cq.dam.entitlement cannot be resolved

import com.day.cq.dam.entitlement.api.EntitlementConstants

 

The code is referring 

ASSETS_DYNAMICMEDIA_FEATURE_FLAG_PID from EntitlementConstants class 

 

The uber 6.5.3.6  has the reference https://javadoc.io/static/com.adobe.aem/uber-jar/6.3.3.6/com/day/cq/dam/entitlement/api/EntitlementConstants.html available, but not seeing the same in 6.5.13 at https://javadoc.io/doc/com.adobe.aem/uber-jar/6.5.13/index.html 

 

Any directions on how to fix this error will be helpful

 

 

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 aanchal-sikka

Hello @shijuc94592906 

 

The API still exists. Please try adding the dependency in your pom.xml and try

<dependency> <artifactId>cq-dam-entitlement</artifactId> <version>1.4.36</version> <groupId>com.day.cq.dam</groupId> <scope>provided</scope> </dependency>

 

For version, please visit http://localhost:4502/system/console/depfinder on AEM with the updated SP.

Add the "com.day.cq.dam.entitlement.api.EntitlementConstants" in Package textbox and click find. Copy the version displayed

 

 

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
November 1, 2023

Hello @shijuc94592906 

 

The API still exists. Please try adding the dependency in your pom.xml and try

<dependency> <artifactId>cq-dam-entitlement</artifactId> <version>1.4.36</version> <groupId>com.day.cq.dam</groupId> <scope>provided</scope> </dependency>

 

For version, please visit http://localhost:4502/system/console/depfinder on AEM with the updated SP.

Add the "com.day.cq.dam.entitlement.api.EntitlementConstants" in Package textbox and click find. Copy the version displayed

 

 

 

Aanchal Sikka