i am exposing freemarker template from aem to backend service to send mails.since the file is too big i am seeing the following error. please suggest me the approach to resolve the issue.
Error Message:
org.apache.sl ing.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 80 in the generated java file The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit