转自:https://www.cnblogs.com/carterzhang/p/4288650.html

背景:

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>

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

相关文章:

  • 2021-08-05
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-04-21
  • 2021-11-24
  • 2021-10-25
  • 2021-11-14
猜你喜欢
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2022-01-28
相关资源
相似解决方案