freemarker.core.ParseException

Syntax error in template "LoggingServlet-html.ftl" in line 1, column 7: [INFO] [talledLocalContainer] Unknown FTL header parameter: output_format


Solutions on the web26

Solution icon of googlegroups
via Google Groups by Yaron Benjamin, 7 months ago
Syntax error in template "LoggingServlet-html.ftl" in line 1, column 7: [INFO] [talledLocalContainer] Unknown FTL header parameter: output_format

Solution icon of stackoverflow
Syntax error in template "javaclass.ftl" in line 5, column 29: Encountered ",", but was expecting: ">"

Solution icon of stackoverflow
Syntax error in template "freemarker/admin_login.ftl" in line 40, column 9: Unexpected directive, "</#if>". Check if you have a valid #if-#elseif-#else structure.

Solution icon of github
Syntax error in template "fr.opensagres.xdocreport.document.odt.ODTReport@6ef81f31!content.xml" in line 4, column 3563: Encountered ":", but was expecting one of: ".." <DOT_DOT_LESS> "..*" "}" "." "[" "(" "?" "!" <TERMINATING_EXCLAM> "??" "+" "-" "*" "/" "%" "!=" "=" "==" <AND> <OR>

Solution icon of spring
via Spring JIRA by Tokuhiro Matsuno, 10 months ago
Syntax error in template "spring.ftl" in line 225, column 36: Using ?html (legacy escaping) is not allowed when auto-escaping is on with a markup output format (HTML), to avoid double-escaping mistakes.

Solution icon of github
Syntax error in template "spring.ftl" in line 225, column 36: Using ?html (legacy escaping) is not allowed when auto-escaping is on with a markup output format (HTML), to avoid double-escaping mistakes.

Solution icon of github
Parsing error in template "fr.opensagres.xdocreport.document.docx.DocxReport@227c808d!word/document.xml" in line 4, column 186: Lexical error: encountered "\\" (92), after "\\".

Solution icon of github
Parsing error in template "fr.opensagres.xdocreport.document.docx.DocxReport@6bba64!word/document.xml" in line 4, column 9352: Encountered "[/#escape]", but was expecting one of: \<ATTEMPT> \<IF> \<ELSE_IF> .........

Solution icon of googlegroups
via Google Groups by Miguel F, 7 months ago
Token manager error: freemarker.core.TokenMgrError: Lexical error at line 14, column 34. Encountered: "\ufffd" (65533), after : "" in 150x1501-sphone.png

Solution icon of sourceforge
Encountered "account >" at line 1, column 782 in TPV_ST. Was expecting one of: "in" ... ">" ... <EMPTY_DIRECTIVE_END> ... "." ... "[" ... "(" ... "?" ... "!" ... <TERMINATING_EXCLAM

Stack trace

  • freemarker.core.ParseException: Syntax error in template "LoggingServlet-html.ftl" in line 1, column 7: [INFO] [talledLocalContainer] Unknown FTL header parameter: output_format at freemarker.core.FMParser.HeaderElement(FMParser.java:3374)[INFO] at freemarker.core.FMParser.Root(FMParser.java:3428)[INFO] at freemarker.template.Template.<init>(Template.java:208)[INFO] at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:495)[INFO] at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:409)[INFO] at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:261)[INFO] at freemarker.template.Configuration.getTemplate(Configuration.java:1786)[INFO] at freemarker.template.Configuration.getTemplate(Configuration.java:1646)[INFO] at org.hippoecm.repository.LoggingServlet.getRenderTemplate(LoggingServlet.java:140)[INFO] at org.hippoecm.repository.LoggingServlet.doGet(LoggingServlet.java:216)[INFO] at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[INFO] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[INFO] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[INFO] at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:263)[INFO] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)[INFO] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[INFO] at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[INFO] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[INFO] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[INFO] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[INFO] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[INFO] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[INFO] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)[INFO] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[INFO] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)[INFO] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100)[INFO] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687)[INFO] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)[INFO] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)[INFO] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[INFO] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[INFO] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[INFO] at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.