freemarker.template.TemplateModelException: Could not find an instance of freemarker.ext.servlet.ServletContextHashModel in the data model under either the name \_\_FreeMarkerServlet.Application\_\_ or Application

freemarker | nobody | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JSP taglib problem (FreeMarker/WebWork)

    freemarker | 1 decade ago | nobody
    freemarker.template.TemplateModelException: Could not find an instance of freemarker.ext.servlet.ServletContextHashModel in the data model under either the name \_\_FreeMarkerServlet.Application\_\_ or Application

    Root Cause Analysis

    1. freemarker.template.TemplateModelException

      Could not find an instance of freemarker.ext.servlet.ServletContextHashModel in the data model under either the name \_\_FreeMarkerServlet.Application\_\_ or Application

      at freemarker.ext.jsp.FreeMarkerPageContext.<init>()
    2. FreeMarker
      FreeMarkerPageContext1.create
      1. freemarker.ext.jsp.FreeMarkerPageContext.<init>(FreeMarkerPageContext.java:123)
      2. freemarker.ext.jsp.FreeMarkerPageContext1.<init>(FreeMarkerPageContext1.java:12)
      3. freemarker.ext.jsp.FreeMarkerPageContext1.create(FreeMarkerPageContext1.java:16)
      3 frames