Comments (8)
There's a few different problems which can cause this and it really isn't related to the AEM Eclipse Developer Tools.
- The original Uber Jar for AEM 6.0 didn't have tld files.
- The Uber Jar for AEM 6.0 and 6.1 (which do have tlds) have obsfucated class files which can't be instantiated. Since Eclipse's JSP support require instantiating the TagExtraInfo class, this fails.
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.
from aem-eclipse-developer-tools.
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:
from aem-eclipse-developer-tools.
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.
from aem-eclipse-developer-tools.
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.
from aem-eclipse-developer-tools.
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.
from aem-eclipse-developer-tools.
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
from aem-eclipse-developer-tools.
Perfect! Updating org.apache.sling.scripting.jsp.taglib version to 2.2.4 worked for me.
Thanks
from aem-eclipse-developer-tools.
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 .
from aem-eclipse-developer-tools.
Related Issues (20)
- OSGi bundle not getting uninstalled in case un-installation is done after new version installation of AEM package HOT 7
- Problems encountered while setting project description. HOT 6
- New project wizard doesn't lists all archetypes for project creation HOT 2
- AEM Eclipse Plugin: AEM Bundle(core module) not getting published HOT 10
- Error creating new project - Failed while installing Sightly 1.1 HOT 11
- Core module in not getting added to server HOT 4
- /rep:policy node for the root node does not get imported HOT 4
- New projects are created in a broken state HOT 9
- Export ignores filter.xml HOT 4
- AEM-Eclipse plugin is not able to recognize the archetype11 projects.? HOT 5
- Project is creating in broken state HOT 11
- Support the new launchpad project types from the Sling IDE Tooling HOT 1
- JCR Properties not loading in eclipse Neon HOT 7
- JCR properties view: cq namespace not being added to .content.xml HOT 9
- Project creation fails with new archetype version
- Repo root is not detected in archetype 19 HOT 2
- Am facing issue in importing content from AEM in Maven Archetype 20
- Update plugin to support archetype version 24 HOT 2
- AEM content sync root directory keeps getting reset after Maven -> Update Project HOT 1
- Is this project still active? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aem-eclipse-developer-tools.