Closed sb-pk closed 8 years ago
There's a few different problems which can cause this and it really isn't related to the AEM Eclipse Developer Tools.
A solution which works most of the time for me is to include dependency entries for the Sling and CQ taglibs directly and be sure to include them in the pom.xml file before the uber jar.
Hi justinedelson, didn't quite get what you trying to explain. I did include both Sling and CQ taglibs in my xxx.ui.apps module's dependency, and I still have the same issue. Here's my dependency:
Try moving those two dependencies above the AEM API dependency. That works for me, although not 100% of the time for reasons I've yet to figure out.
Thanks for the prompt response. After applied the sequence you mentioned, I tried clean the project, close and reopen, restart Eclipse...still NO LUCK. I guess I'll just leave it alone for the time being. Thanks for the help anyway.
I have the same problem after upgrading to 6.1 using the obfuscated uber jar and the taglibs shown above. I know this isn't a AEM Eclipse Dev Tools issue per se. We use Sightly, but still would like JSP support in eclipse. It would be really great if this plugin had a solution for JSP's in the IDE, or maybe example of Maven settings required for it.
I solved the issue (in AEM61) including the dependency:
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.scripting.jsp.taglib</artifactId>
<version>2.2.4</version>
<scope>provided</scope>
</dependency>
Thank you Justin! Regards
Perfect! Updating org.apache.sling.scripting.jsp.taglib version to 2.2.4 worked for me. Thanks
Thanks all for the comments. I've updated the AEM Developer Tools for Eclipse documentation - https://docs.adobe.com/content/docs/en/dev-tools/aem-eclipse.html#Enabling%20tag%20library%20autocompletion%20in%20JSP%20files .
I am facing this issue in global.jsp.. pls help me... "on hovering cq:defineObjects/ and sling:defineObjects/" I am getting this error. Attached the screenshot.