春-セキュリティ:3.0.2フリーマーカー:2.3.19
freemarkerでspringSecurityタグを使用したいのですが、次のエラーがスローされます。
[16 14:10:46,349エラー] [btpool0-0] freemarker.runtime-テンプレート処理エラー:「http://www.springframework.org/security/tagsにマッピングが定義されていません」
http://www.springframework.org/security/tagsにマッピングが定義されていません
問題のある指示:
==>割り当て:security = JspTaglibs ["http://www.springframework.org/security/tags"] [1行目、macro/header.ftlの1列目]ユーザーディレクティブpage.bodytemplate[6行目、items.ftlの列1]
ftl:<#assign security = JspTaglibs ["http://www.springframework.org/security/tags"] />
pom.xml
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
<version>3.0.2.RELEASE</version>
</dependency>