Spring Boot 2 — security taglibs not found, wrong taglib version in the java jsp

Spring Boot 2 — security taglibs not found, wrong taglib version in the java jsp

As I faced the same issue, while configuring the spring security using spring boot for 2.1.3 version. Not sure why this happens.

The spring security boot version wont add the tablib library. You have to add it manually if you are using it in jsp.

Add this line in your pom.xml file and it resolved the dependency.

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

Hope this helps someone.

Spring Boot 2 — security taglibs not found, wrong taglib version in the java jsp

Leave a Reply

Your email address will not be published. Required fields are marked *