日常问题记录-- java.lang.IllegalArgumentException: taglib definition not consistent with specification version

背景:

tomcat8.0中使用taglib

错误表现:

 java.lang.IllegalArgumentException: taglib definition not consistent with specification version

原因:

tomcat6以上在web.xml中定义taglib时要嵌入到jsp-config标签中

<jsp-config>
    <taglib>
        <taglib-uri></taglib-uri>
        <taglib-location></taglib-location>
    </taglib>
</jsp-config>

不会炒菜的非专业测试人员
原文地址:https://www.cnblogs.com/carterzhang/p/4288650.html