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-c...
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
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
@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?
Views
Replies
Total Likes
Hi Sakshi,
Correct I'm using AEM 6.5 - SP 22
Both bundles are active in my local AEM but still show the error
Any other idea?
Thanks for the help
Views
Replies
Total Likes
@DavidNg6 Could you confirm if you have restarted the server after installing the core-components bundle. Also, please confirm if below bundles are installed and in active state:
Note: The class is exported by the bundle: core-forms-components-af-core
In case you do not have these bundles installed - please confirm - the archetype version, and if forms is enabled while creating the archetype (for existing archetype you may need to make similar changes manually).
Views
Replies
Total Likes
Hi Sudhansh,
The above bundles are not active. Seems that have some imported packages issue.
I'm using the archetype suggested in this document: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-core-c...
Thanks,
David
Views
Replies
Total Likes
@DavidNg6 Which version of 6.5 are you on?
Core components on 6.5 is supported from 6.5.16 or later.
Just change the
-D aemVersion="6.5.15"
in the archetype command to generate project for specific AEM service pack.
Views
Replies
Total Likes
Hi Sakshi,
I'm 6.5.22. Will try changing the suggested aemVersion when creating the project