Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Exception in using Query Package Manager

Avatar

Level 2

I have acs-aem-commons-content-1.9.4.zip installed  on AEM 6. While creating page using "Query Packager" template [from ACS AEM common], I am getting following exceptions and unable to create page successfully. Any idea what's going wrong here? Appreciate for any solution or pointers :

01.05.2015 21:24:20.109 *ERROR* [0:0:0:0:0:0:0:1 [1430529860036] GET /etc/acs-commons/packagers/contentquerypackager/test2.html HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Original error class java.lang.Error
java.lang.Error: Unresolved compilation problems: 
    Only a type can be imported. com.adobe.acs.commons.util.TextUtil resolves to a package
    TextUtil cannot be resolved

    at org.apache.jsp.apps.acs_002dcommons.components.utilities.page.page_jsp.<init>(page_jsp.java:22)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.loadServlet(JspServletWrapper.java:165)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.prepareServlet(JspServletWrapper.java:434)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:486)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:281)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:102)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:524)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:511)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

And in case the problem persists please report this on the github page of ACS. From my experience the support there is excellent.

kind regards,
Jörg

View solution in original post

2 Replies

Avatar

Level 10

Check if all the bundles of acs-aem-commons are in active state.

Avatar

Correct answer by
Employee Advisor

And in case the problem persists please report this on the github page of ACS. From my experience the support there is excellent.

kind regards,
Jörg