java.lang.ClassNotFoundException : javax.servlet.jsp.jstl.core.Config
Published: September 2, 2010 , Updated: August 16, 2011 , Author: mkyong
Problem
While deploying JSF 2.0 web application to Tomcat 6.0.26, hits following jstl class not found error.
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config ... Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config ... 18 more
Solution
By default, Tomcat container doesn’t contain any jstl library. To fix it, declares jstl.jar in your Maven pom.xml file.
<dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency>
Note
Please refer to this JSF 2.0 release note to identify the JSF 2.0 required dependency libraries.
Please refer to this JSF 2.0 release note to identify the JSF 2.0 required dependency libraries.
Note : You can find more similar articles at - JSF 2 Tutorials







Thanks! Google picked this up as first result and it solved my problem.
I’m using tomcat v.7 but I’m taking same exception.
Thank for the input. Tomcat, by default, doesn’t come with jstl.jar library, and shouldn’t also. You need to get this library manually.