title: getting org.xml.sax.SAXParseException in web.xml on line <taglib>
body: <p>I want to use jstl tag library, for that I have included  tag in web.xml</p>
  
  <p>but its showing following exception on starting apache tomcat server.</p>
  
  <pre><code>SEVERE: Begin event threw exception
  java.lang.IllegalArgumentException: taglib definition not consistent with specification version
      at org.apache.catalina.startup.TaglibLocationRule.begin(WebRuleSet.java:1274)
      at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
      ......
  Oct 06, 2016 4:31:04 PM org.apache.catalina.startup.ContextConfig parseWebXml
  SEVERE: Parse error in application web.xml file at jndi:/localhost/SpringExceptionHandling/WEB-INF/web.xml
  org.xml.sax.SAXParseException; systemId: jndi:/localhost/SpringExceptionHandling/WEB-INF/web.xml; lineNumber: 33; columnNumber: 13; Error at (33, 13) : taglib definition not consistent with specification version
      at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2687)
  Caused by: java.lang.IllegalArgumentException: taglib definition not consistent with specification version
      at org.apache.catalina.startup.TaglibLocationRule.begin(WebRuleSet.java:1274)
      at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
      ... 
  </code></pre>
  
  <p>its saying "<strong>taglib definition not consistent with specification version</strong>"
  how to check version</p>
  
  <p>..part of web.xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee"
  
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_3_0.xsd"
     version="3.0"&gt;
  
  
      &lt;taglib&gt;
      &lt;taglib-uri&gt;http://java.sun.com/jstl/core&lt;/taglib-uri&gt;
      &lt;taglib-location&gt;/WEB-INF/tld/c.tld&lt;/taglib-location&gt;
    &lt;/taglib&gt;
  </code></pre>