Admin, who has set up the server has forgotten the password to access the server. So we are trying to retrieve/reset the password.
This password will be used to perform any type of admin activity on the server.
You are facing this issue with all the model classes you have written on the same project or only with this specific one? If it's with all, then definitely it's with the package definition.
You are getting this error after any specific change you have made to the site or from the beginning itself when you are trying to setup the application locally?
Also are you able to setup the application without installing the content package on the server?
You are not obtaining the correct resource resolver here.
Please use the system user to get the resource resolver and ensure you are giving access to the system user for the path you want to perform any operation here i.e. /apps/myfolder.
Please refer the link here.
You can refer the link here.
This is a known issue with AEM's latest release and it's something we can replicate on AEM SDK as well. Please raise a request with Adobe Support and ask them to roll back to the previous stable version which is 2022.11.9850.20221116T162329Z. I have faced the same issue and we we...