title: freemarker.runtime - Template processing error: "No mapping defined for http://www.springframework.org/security/tags"
body: <p>Spring-security:3.0.2
  Freemarker:2.3.19</p>
  
  <p>I want to use springSecurity tags in freemarker, but it throws this errors:   </p>
  
  <p>[16 14:10:46,349 ERROR] [btpool0-0] freemarker.runtime - Template processing error: "No mapping defined for <a href="http://www.springframework.org/security/tags" rel="nofollow">http://www.springframework.org/security/tags</a>"</p>
  
  <p>No mapping defined for <a href="http://www.springframework.org/security/tags" rel="nofollow">http://www.springframework.org/security/tags</a></p>
  
  <h2>The problematic instruction:</h2>
  
  <p>==> assignment: security=JspTaglibs["http://www.springframework.org/security/tags"] [on line 1, column 1 in macro/header.ftl]
   in user-directive page.bodytemplate [on line 6, column 1 in items.ftl]</p>
  
  <p>ftl:
      &lt;#assign security=JspTaglibs["http://www.springframework.org/security/tags"] /></p>
  
  <p>pom.xml</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
          &lt;artifactId&gt;spring-security-taglibs&lt;/artifactId&gt;
          &lt;version&gt;3.0.2.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>