Compilation errors: com.adobe.cq.forms.core.components.models.form.FormStructureParser cannot be resolved to a type | Community
Skip to main content
Level 1
May 27, 2025

Compilation errors: com.adobe.cq.forms.core.components.models.form.FormStructureParser cannot be resolved to a type

  • May 27, 2025
  • 1 reply
  • 1097 views

Hello,

 

I'm following the guide to enable form core components (https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-core-components/enable-adaptive-forms-core-components)

 

MVN build works ok, but when I go and create a new Adaptive Form, I get the below error:

Compilation errors in org/apache/sling/scripting/sightly/apps/myform/components/adaptiveForm/page/customheaderlibs__002e__html.java: Line 43, column 2006 : com.adobe.cq.forms.core.components.models.form.FormStructureParser cannot be resolved to a type

 

I'm using the below versions in my pom.xml:

<core.wcm.components.version>2.24.6</core.wcm.components.version> <core.forms.components.version>1.1.66</core.forms.components.version> <core.forms.components.af.version>1.1.66</core.forms.components.af.version>

 

Thanks,

David

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Sakshi5
Adobe Employee
Adobe Employee
May 28, 2025

Hi David,
Since you are referring to 6.5 article, I am assuming you are on AEM 6.5.

Can you check if the forms core component bundles Adaptive Forms Core API (com.adobe.aemds.guide.aemds-guide-core) and Adaptive Forms Core Implementation (com.adobe.aemds.guide.aemds-guide-core-impl) are active?

Update:
check if the forms core component bundles are active.

  • com.adobe.aem.core-forms-components-core
  • com.adobe.aem.core-forms-components-af-core
Khushwant_Singh
Adobe Employee
Adobe Employee
June 2, 2025

@davidng6 , Did you get a chance to check if the forms core component bundles Adaptive Forms Core API (com.adobe.aemds.guide.aemds-guide-core) and Adaptive Forms Core Implementation (com.adobe.aemds.guide.aemds-guide-core-impl) are active?