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>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM