freemarker.core.ParseException: Encountered "<\#ftl " at line 13, column 9. Was expecting one of: <ATTEMPT> ... <IF> ... <LIST> ... <FOREACH> ... <SWITCH> ... . . . at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:362) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:229) at freemarker.template.Configuration.getTemplate(Configuration.java:426) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1341)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via freemarker by grimholtz
, 1 year ago
Encountered "<\#ftl " at line 13, column 9. Was expecting one of: <ATTEMPT> ... <IF> ... <LIST> ... <FOREACH> ... <SWITCH> ... . . . at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:362) at
freemarker.core.ParseException: Encountered "<\#ftl " at line 13, column 9. Was expecting one of: <ATTEMPT> ... <IF> ... <LIST> ... <FOREACH> ... <SWITCH> ... . . . at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:362) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:229) at freemarker.template.Configuration.getTemplate(Configuration.java:426) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1341)
at freemarker.core.Include.accept(Include.java:143)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.process(Environment.java:176)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.