I have created my package using cmd and when I am editing my page in siteadmin it is showing org.apache.sling.scripting.sightly.SightlyException: Cannot find a file corresponding to class com.adobe.cq.wcm.core.components.models.Page in the repository".
Solved! Go to Solution.
Ensure you have the correct version of Core components for the AEM release you are running .
If you still have issues, what AEM version, core component version and exact error are you getting?