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)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web29

  • via freemarker by grimholtz
    , 11 months 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
  • via Coderanch by Migrated From Jforum.net, 6 months ago
    Encountered "\")}\"" at line 304, column 365. Was expecting one of: ".." ... "=" ... "==" ... "!=" ... <LESS_THAN> ... <LESS_THAN_EQUALS> ... <ESCAPED_GT> ... <ESCAPED_GTE> ... "," ... ")" ... ">" ... ">=" ... "." ... "[" ... "(" ... "?" ... "+" ... "-" ... "*" ... "/" ... "%" ... <AND> ... <OR> ...
  • Encountered ";" at line 4, column 30430 in content.xml. Was expecting one of: ">" ... "." ... "[" ... "(" ... "?" ... "!" ... <TERMINATING_EXCLAM
  • Stack trace

    • 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) at freemarker.template.Template.process(Template.java:223)

    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’re the first here who have seen this exception.