December 10, 2020
Estimated Post Reading Time ~

How to recompile JSPs not available in AEM 6.5

Question: 
Some UI issues need a recompilation of the JSPs in order to be resolved (/system/console/slingjsp). However, in AEM 6.5 (tested on an OOTB installation with no additional packages installed) the console with which this is usually done is no longer available. It is not present in the menu, nor is the URL accessible directly.

AEM 6.3:


AEM 6.5:




Is there an other way to recompile the JSPs?

Solution:
That option was removed in 6.5. Now, Classes and Slightly cache is stored in the Apache Sling Commons FileSystem ClassLoader. Check point 2 at [1] on how to clear classes and sightly cache

[1] How to force a recompilation of all Sling scripts jsps, java, and sightly in AEM 6.4

Tested on AEM 6.5
Navigate to: http://localhost:4502/system/console/fsclassloader
Click on “Clear Class Loader” button



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.