AEM form core components - Uncaught TypeError: AuthorUtils.getAFWindow(...).$ is not a function
Hello,
Recently tried to enable AEM form core components following this guide: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-core-components/enable-adaptive-forms-core-components
Everything ok till try to edit the template blank-af-v2. When I go to the template editor it shows the below error:
Uncaught TypeError: AuthorUtils.getAFWindow(...).$ is not a function
at Object.getGuideContainerPath (guideCommonAuthoring.js:1339:50)
at HTMLDocument.<anonymous> (guideTouchAuthoringEditLayer.js:1028:52)
at HTMLDocument.fn (jquery.js:4831:18)
at HTMLDocument.dispatch (jquery.js:5232:27)
at elemData.handle (jquery.js:4884:28)
at Object.trigger (jquery.js:5136:12)
at HTMLDocument.<anonymous> (jquery.js:5866:17)
at jQuery.each (jquery.js:371:19)
at jQuery.fn.init.each (jquery.js:137:17)
at jQuery.fn.init.trigger (jquery.js:5865:15)
I used this code to create my new project:
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=56\
-D appTitle="My Site TEST" \
-D appId="mysitetest" \
-D groupId="com.mysite" \
-D includeDispatcherConfig="n" \
-D includeFormsenrollment="y" \
-D aemVersion="6.5.23"
Tried playing around with the page footer and header component but no luck
Any advise why this error?