I am getting this error with my component
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Compilation errors in xxxxxxxx: Line 45, column 2138 : com.project.name.core.xxxxx cannot be resolved to a type
is there any way to fix this? I also tried building my project/core but still not fix.
Solved! Go to Solution.
Views
Replies
Total Likes
1.Please check whether you project specific bundle is in active state using
http://<aem-instance>:<port>/system/console/bundles -
2. Also I think you are facing this issue with Sling model. If yes, please check the presence of that sling model using http://<aem-instance>:<port>/system/console/adapters url as shown below -
Here CompaniesModel is my Sling model -
Please confirm all these first.
1.Please check whether you project specific bundle is in active state using
http://<aem-instance>:<port>/system/console/bundles -
2. Also I think you are facing this issue with Sling model. If yes, please check the presence of that sling model using http://<aem-instance>:<port>/system/console/adapters url as shown below -
Here CompaniesModel is my Sling model -
Please confirm all these first.
Looks like a compilation error in Line 45 in the respective class.
Cross check the same in IDE/fix and then build the project.
Views
Likes
Replies