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

2023-10-29

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/sharpest/p/7807530.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

java.lang.IllegalArgumentException: taglib definition not consistent with specification version 的相关文章

随机推荐