Hi,
I am setting up Eclipse development environment for CQ 5.4, and am facing an issue with finding the exact jar files that will parse the <cq:defineObjects> tag. I have the followed the instructions under : http://wem.help.adobe.com/enterprise/en_US/10-0/wem/developing/develop menttools/developing_with_eclipse.html
And I have included the sling.scripting.jsp.taglib-2.0.6.jar in my classpath. I get the following error : "The TagExtraInfo class for "cq:defineObjects" (com.day.cq.wcm.tags.DefineObjectsTEI) could not be instantiated".
Do I need any other jars to included in the classpath?
thanks,
pvr
I have found that these are the maven dependencies I need to make auto-complete and syntax highlighting work in JSPs in 5.4 (version numbers may vary based on what hotfixes you have applied. For 5.5 the version numbers significantly differnt, and you have to add the dependency on com.adobe.granite.xssprotection.
| <dependency> | ||
| <groupId>com.day.commons</groupId> | ||
| <artifactId>day-commons-jstl</artifactId> | ||
| <version>1.1.4</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.day.cq</groupId> | ||
| <artifactId>cq-commons</artifactId> | ||
| <version>5.4.6</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.day.cq.wcm</groupId> | ||
| <artifactId>cq-wcm-api</artifactId> | ||
| <version>5.4.0</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.day.cq.wcm</groupId> | ||
| <artifactId>cq-wcm-commons</artifactId> | ||
| <version>5.4.2</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.day.cq.wcm</groupId> | ||
| <artifactId>cq-wcm-taglib</artifactId> | ||
| <version>5.4.0</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>javax.jcr</groupId> | ||
| <artifactId>jcr</artifactId> | ||
| <version>5.4.0</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-lang</artifactId> | ||
| <version>2.4</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.sling</groupId> | ||
| <artifactId>org.apache.sling.api</artifactId> | ||
| <version>2.2.0</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.sling</groupId> | ||
| <artifactId>org.apache.sling.scripting.jsp.taglib</artifactId> | ||
| <version>2.1.0</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.slf4j</groupId> | ||
| <artifactId>slf4j-api</artifactId> | ||
| <version>1.5.3</version> | ||
| </dependency> |
North America
Europe, Middle East and Africa
Asia Pacific