java 刷新报错 Feature 'taglib' not found.

时间:2016-04-18 20:42:30   收藏:0   阅读:3560

刷新工程报错:org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature ‘taglib‘ not found.

错误原因:tomcat7,部署tomcat6下开发的项目。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>

 

原文:http://www.cnblogs.com/hehongtao/p/5405605.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!