Saturday, March 30, 2013

java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config

I was working on developing Spring MVC Application with Maven+Tomcat with Spring 3.2. While running application, encountered with Exception : java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config

Solution :
I found that tomcat container doesn't contain jatl library and hence require to explicitly add it to maven dependencies in Pom.xml

Maven Dependencies
<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
</dependency>

After adding maven dependencies as mentioned above, issue is resolved. Hope it might help you.


Note : apache-tomcat-7.0.27  was used

Author : Anuj Patel
Blog : http://goldenpackagebyanuj.blogspot.in/

No comments:

Post a Comment