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)

freemarker | grimholtz | 1 decade ago
  1. 0

    Content-type with FreemarkerServlet

    freemarker | 1 decade ago | grimholtz
    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)
  2. 0

    freemarker.core.ParseException

    Coderanch | 1 decade ago | Migrated From Jforum.net
    freemarker.core.ParseException: Encountered "\")}\"" at line 304, column 365. Was expecting one of: ".." ... "=" ... "==" ... "!=" ... <LESS_THAN> ... <LESS_THAN_EQUALS> ... <ESCAPED_GT> ... <ESCAPED_GTE> ... "," ... ")" ... ">" ... ">=" ... "." ... "[" ... "(" ... "?" ... "+" ... "-" ... "*" ... "/" ... "%" ... <AND> ... <OR> ...
  3. 0

    ParseException: Encountered "/" content.xml for list type

    Stack Overflow | 1 year ago | Philip John
    freemarker.core.ParseException: Encountered "/" at line 4, column 13223 in content.xml. Was expecting one of: <STRING_LITERAL> ... <RAW_STRING> ... "false" ... "true" ... <INTEGER> ... <DECIMAL> ... "." ... "+" ... "-" ... "!" ... "[" ... "(" ... "{" ... <ID> ...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JODReports freemarker 'if' with 'and' directive exception

    Stack Overflow | 4 years ago
    freemarker.core.ParseException: Encountered "AND" at line 4, column 30424 in content.xml. Was expecting one of: ">" ... "." ... "[" ... "(" ... "?" ... "!" ... <TERMINATING_EXCLAM> ... "??" ... "+" ... "-" ... "*" ... "/" ... "%" ... "!=" ... "=" ... "==" ... ">=" ... <ESCAPED_GTE> ... ">" ... <ESCAPED_GT> ... <LESS_THAN_EQUALS> ... <LESS_THAN> ... ".." ... <AND> ... <OR> ...

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. FreeMarker
      Template.process
      1. freemarker.core.Include.accept(Include.java:143)
      2. freemarker.core.Environment.visit(Environment.java:196)
      3. freemarker.core.MixedContent.accept(MixedContent.java:92)
      4. freemarker.core.Environment.visit(Environment.java:196)
      5. freemarker.core.Environment.process(Environment.java:176)
      6. freemarker.template.Template.process(Template.java:223)
      6 frames