处理 Spring 引导的 Netbeans,JSP 页面无法识别 spring 安全选项卡

Netbeans dealing with Spring boot, JSP page can't recognize spring security tablib

问题是 Netbeans 无法识别 spring 安全标签,但如果部署它就可以正常工作,IDE 告诉我:

"Unable to load tag handler class 'org.springframework.security.taglibs.authz.AuthenticationTag' for tag 'sec:authorize"

我正在使用 Netbeans 8.2,spring boot 1.4.3.RELEASE,并在 POM 中添加了以下 maven 依赖项:

<dependency>
   <groupId>org.springframework.security</groupId>
   <artifactId>spring-security-taglibs</artifactId>
</dependency>

JSP 已添加页面

<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec"%>

能够 运行 JSP 页面中的所有相关 spring 安全标记:

<sec:authorize access="isAnonymous()">
    <a href="${pageContext.request.contextPath}/login">Login</a>
</sec:authorize>

请指导我解决 IDE 漏报问题。 提前致谢。

不能做任何事情,对于那些使用 Netbean 8.2 的人来说,这是一个错误。

在这里查看: https://netbeans.org/bugzilla/show_bug.cgi?id=205304