0

I've added JSTL dependency in my pom.xml file, I can see it in lib folder and despite that I'm still getting 500 error with exception:

java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config

enter image description here

enter image description here enter image description here

sviero
  • 21
  • 1

2 Answers2

0

Add JSTL Maven Dependency :

        <dependency>
            <groupId>jstl</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
        </dependency>
Sanjay
  • 2,481
  • 1
  • 13
  • 28
0

Did you look at this answer :

javax.servlet.jsp.jstl.core.Config class not found

The last answer says that it's probably an issue with the servlet version :

The problem was in wrong servlet version in web.xml. I've made it 2.5 and all works.

You can also see dependency relations here :

The ultimate Java version table (J2EE, Java EE, Servlet, JSP, JSTL)

marojbor
  • 191
  • 10