Sometime the JSP classes will not get compiled automatically in Adobe Experience Manager(AEM). Strange UI issues can occur and compilation errors may be seen in the logs. In AEM6.4 libraries are no longer under /var/clientlibs folder, they are in the file system.
1. Recompile via AEM Web Console:
- For classes and Slightly access [1] and click Recompile all JSPs.
- For clientlibs access [2], click Invalidate Caches then click Rebuild Libraries.
a) For classes and Slightly cache:
- Search in the AEM instance home folder with command below: find launchpad/felix -path "*/bundle*/data/classes" -type d
- Delete the "classes" folder
b) For clientlibs
- Search in the AEM instance home folder with command below: find launchpad/felix -path "*/bundle*/data/outputcache" -type d
- Delete "outputcache" folder
[1] http://localhost:4502/system/console/slingjsp
[2] http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html
No comments:
Post a Comment
If you have any doubts or questions, please let us know.