ACS AEM Tools - Explain Query | Community
Skip to main content
New Participant
November 17, 2015
Solved

ACS AEM Tools - Explain Query

  • November 17, 2015
  • 2 replies
  • 1355 views

Hello,

I am trying to use Explain Query tool from ACS AEM Tools on AEM 6 + SP3 but I have an exception when I try to browse /etc/acs-tools/explain-query.html

rg.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 19 in the generated java file Only a type can be imported. com.adobe.acs.tools.util.AEMCapabilityHelper resolves to a package An error occurred at line: 25 in the jsp file: /apps/acs-tools/components/explain-query/content.jsp AEMCapabilityHelper cannot be resolved to a type 22: %><%@page session="false" 23:         import="com.adobe.acs.tools.util.AEMCapabilityHelper" %><% 24: 25:     final AEMCapabilityHelper aemCapabilityHelper = sling.getService(AEMCapabilityHelper.class); 26:     pageContext.setAttribute("isSupported", aemCapabilityHelper.isOak()); 27: 28: %><div ng-controller="MainCtrl"

Version of ACS AEM Tools installed: 0.0.22

Version of ACS AEM Commons installed: 2.1.0

Both bundles are active according to Felix Console.

Do you have any idea why?

Thank you,

Stefano

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by boser87

The problem was related do a bundle duplicated. ACS AEM Commons was both present as stand-alone with version 2.1.0 and as embedded dependency inside Tools with a prior version. 

2 replies

boser87AuthorAccepted solution
New Participant
November 18, 2015

The problem was related do a bundle duplicated. ACS AEM Commons was both present as stand-alone with version 2.1.0 and as embedded dependency inside Tools with a prior version. 

smacdonald2008
New Participant
November 17, 2015

The team for this tool asked if you could post this ACS AEM Tools question on Github directly.