AEM 6.0 having some issues with java 1.8.
Hello All,
In my current project, I am installing AEM 6.0 with Java 1.8. I have also installed service pack 1 and service pack 2. But after I do a maven build successfully, when I try to load the page it always fails and shows the following error.
Initially, it worked fine but later I don't know why it started failing.
com.day.cq.wcm.tags.IncludeTag Error while executing script body-section-header.jsp
org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 38 in the generated java file
Only a type can be imported.