![](http://static.blog.csdn.net/images/category_icon.jpg)
版权声明:本文为博主原创文章,未经博主允许不得转载。
When I was configure Liferay dependency in pom.xml, previously I just copy all jars into tomcat/lib/ext folder, it's not a good way to do that. After that, I just configure all spring and Hibernate jars. It give me an error like:
java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
The problem is it miss jstl jar. 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>
- <scope>runtime</scope>
- </dependency>