org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: cannot be resolved to a type
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.

