eclipse在项目编译时报如下问题:

eclipse 项目编译时报 Feature 'taglib' not found 错误

经上网查询发现是web.xml里面对<taglib>标签进行校验的原因,处理方法如下:

tomcat7.0前版本web.xml中taglib配置如下:

<taglib>

     <taglib-uri>http://www.krmsoft.com/tags-slsint</taglib-uri>

     <taglib-location>/WEB-INF/slsint.tld</taglib-location>

</taglib>

tomcat7.0后版本taglib配置如下:

<jsp-config>

   <taglib>

        <taglib-uri>http://www.krmsoft.com/tags-slsint</taglib-uri>

        <taglib-location>/WEB-INF/slsint.tld</taglib-location>

    </taglib>

</jsp-config>

 

相关文章:

  • 2021-09-04
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2021-08-14
  • 2021-09-15
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2021-11-25
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2021-04-12
  • 2022-03-01
相关资源
相似解决方案