Sling Models - @Named annotation not working in AEM 6.4
Hi,
Until AEM 6.2/6.3 @Named annotation was working as expected but in AEM 6.4 it does not seem to be working i.e. for example if property name is desc in jcr repository but in respective sling model if below is the code then property values are not injected.
@ValueMapValue
@Named("desc")
private String shortDescription;
Am i missing something here? Is there any alternative to @Named annotation in AEM 6.4 and versions above?
Any suggestions on this is highly appreciated.
Thanks
Srikanth Pogula.