tomcat 7: IllegalArgumentException: taglib defi...

tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version错误,仔细查找一下发现,原来在web.xml中,针对taglib节点有了新的配置要求,原来的:
<web-app>
    <taglib>
        <taglib-uri>/WEB-INF/tlds/PortalModule.tld</taglib-uri>
        <taglib-location>/WEB-INF/tlds/PortalModule.tld</taglib-location>
    </taglib>
</web-app>
现在的:
<web-app>
    <jsp-config>
            <taglib>
                 <taglib-uri>/WEB-INF/tlds/PortalModule.tld</taglib-uri>
                 <taglib-location>/WEB-INF/tlds/PortalModule.tld</taglib-location>
            </taglib>
    </jsp-config>
</web-app>


你可能感兴趣的:(tomcat 7: IllegalArgumentException: taglib defi...)