org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'taglib' not found

tomcat7部署tomcat6下的项目统,报错如下:
An internal error occurred during: "Loading descriptor for BBS.".
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'taglib' not found. (platform:/resource/test/WebContent/WEB-INF/web.xml, 24, 11)

问题分析:这是web.xml下引入taglib标签的方式有了新的配置要求造成的。

tomcat7前版本web.xml中taglib配置如下:
<web-app>
<taglib>
<taglib-uri></taglib-uri>
<taglib-location></taglib-location>
</taglib>
</web-app>

tomcat7版本后taglib配置如下:
<web-app>
<jsp-config>
<taglib>
<taglib-uri></taglib-uri>
<taglib-location></taglib-location>
</taglib>
</jsp-config>
</web-app>

解决方法:在<taglib>标签前加上<jsp-config>标签