Is there any significance on the package name? Whenever I create a
Project with package name as com.adobe.aem, it resolves to this error
irrespective of the Archetype. I tried to create projects with archetype
13 and 15 under another package name and it works fine.
I have never used this dependency before (org.apache.sling.models.impl).
But I did try it by adding these dependencies mentioned, however I still
get the error.But I tried to create another Project with archetype 13
and the sling model worked fine.
I was able to get this touchmulti component working. I tried to create a
copy of the helloworld component and was able to get that also working.
What was the issue with my original Project? Is it because of the
archetype? I see this uses archetype 13 whereas mine was 15.
Getting the below error while creating a custom component in AEM 6.4
using sling model.Error Message:org.apache.sling.api.SlingException:
Cannot get DefaultSlingScript:
org.apache.sling.scripting.sightly.SightlyException: Compilation errors
Line 28, column 1288 : Only a type can be imported.
com.adobe.aem.core.models.SlingModel resolves to a package Line 41,
column 1795 : SlingMode org.apache.sling