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/EntitlementC... 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
Solved! Go to Solution.
Views
Replies
Total Likes
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
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