aem-sdk-api missing com.day.cq.wcm.api.constants.NameConstants (replacement for com.day.cq.wcm.api.NameConstants) | Community
Skip to main content
November 17, 2022
Solved

aem-sdk-api missing com.day.cq.wcm.api.constants.NameConstants (replacement for com.day.cq.wcm.api.NameConstants)

  • November 17, 2022
  • 2 replies
  • 2574 views

Hello everyone,

is the current aem-sdk-api package (version 2022.10.9398.20221020T071514Z-220900) missing the package com.day.cq.wcm.api.constants and therein the interface NameConstants?

The predecessor com.day.cq.wcm.api.NameConstants is now deprecated and states that it is replaced by com.day.cq.wcm.api.constants.NameConstants, but that interface is nowhere to be found in the SDK.

Any hints would be greatly appreciated.

Thanks,

Jan

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 krati_garg

I believe its just a warning and would not fail your build, if you use 

com.day.cq.wcm.api.NameConstants

However, this issue might get fixed in the next set of releases for AEM SDK.

 

@user13506  

2 replies

krati_garg
Adobe Employee
krati_gargAdobe EmployeeAccepted solution
Adobe Employee
November 17, 2022

I believe its just a warning and would not fail your build, if you use 

com.day.cq.wcm.api.NameConstants

However, this issue might get fixed in the next set of releases for AEM SDK.

 

@user13506  

March 28, 2023

Hi @krati_garg, The issue exists. We are using SDK version 2023.2.11289.20230224T170559Z. Please suggest what is to be done to mitigate this.

May 26, 2023

This issue is fixed in SDK version 2023.4.11835.20230414T234523Z. NameConstant is available in com.day.cq.wcm.api.constants package.