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

刷新工程报错: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>

 

posted @ 2016-04-18 19:35  何鸿涛  阅读(4896)  评论(0编辑  收藏  举报