com.adobe.aem.spa.project.core.models.Page cannot be resolved to a type
Failed executing script /libs/cq/Page/Page.jsp: Cannot get DefaultSlingScript: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Compilation errors in org/apache/sling/scripting/sightly/apps/projectx/components/structure/react__002d__page/customheaderlibs__002e__html.java: Line 61, column 2865 : com.adobe.aem.spa.project.core.models.Page cannot be resolved to a typeWhen I 'view as published' my page it's giving me that issue:
Added this to my pom.xml
<!-- SPA Project Core (includes hierarchy page model) -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.ui.apps</artifactId>
<type>zip</type>
<version>${spa.project.core.version}</version>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.core</artifactId>
<version>${spa.project.core.version}</version>
</dependency>
<aem.sdk.api>2021.7.5662.20210726T181801Z-210700</aem.sdk.api>
<spa.project.core.version>1.3.0</spa.project.core.version>
Can you anyone to point me to direction on how can resolve this?
Thank you!

