user1007522 user1007522 - 1 year ago 309
Java Question

Adding JSTL to jsp (Tomcat 8)

I want to use the JSTL library in my jsp's. Now I followed a tutorial and it told me to add this line to the jsp page:

<%@ taglib uri="" prefix="c" %>

It gives me the error cannot resolve taglib with uri and then the URL.

I'm running tomcat 8. My web.xml is like this:

<web-app version="2.4"
xmlns="" xmlns:xsi=""

Does someone know how to fix this?

z21 z21
Answer Source

You need to add jar for the jstl library in your classpath. If you are using maven, then add this dependency.


Add this to your pom.xml.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download