freemarker.template.TemplateException

on line 8, column 9 in build/view/viewDependencies.ftl: ui.displayText is not a user-defined directive. It is a freemarker.template.SimpleScalar

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 web41

  • on line 8, column 9 in build/view/viewDependencies.ftl: ui.displayText is not a user-defined directive. It is a freemarker.template.SimpleScalar
  • on line 8, column 9 in build/view/viewDependencies.ftl: ui.displayText is not a user-defined directive. It is a freemarker.template.SimpleScalar
  • via freemarker by nobody
    , 1 year ago
    Expected hash. cell evaluated instead to freemarker.template.SimpleScalar on line 5, column 8 in test.ftl.
  • Stack trace

    • freemarker.template.TemplateException: on line 8, column 9 in build/view/viewDependencies.ftl: ui.displayText is not a user-defined directive. It is a freemarker.template.SimpleScalar at freemarker.core.UnifiedCall.accept(UnifiedCall.java:137) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210)

    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.