For a recompile, you can try to use the steps from KB at How to force a recompilation of all Sling scripts jsps, java, and sightly in AEM 6.4 Otherwise, you should compare your code with the one from the WKND GitHub: GitHub - adobe/aem-guides-wknd: Tutorial Code companion for Getting Started Develop...