Issue in sightly component after upgrade from 6.0 to 6.2
We are experiencing issues in sightly components, wherever we have referenced Java classes like this - "global.Packages.com.xyz.wcm.utils.ABCClient"
Exception:
GET /content/xyz/ab/new.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
java.lang.NoClassDefFoundError: Could not initialize class com.xyz.wcm.utils.ABCClient
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
I couldn't find any deprecations related to this in following documents:
https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/deprecated-list.html#package
https://docs.adobe.com/docs/en/aem/6-2/release-notes/deprecated-removed-features.html
https://docs.adobe.com/docs/en/aem/6-2/develop/ref/diff-previous/changes.html
Also the fix mentioned here, didn't work: