You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dilip Parihar <di...@mail.com> on 2011/06/09 22:53:05 UTC

Re: Migrated from 6.0.29 to 7.0.10, Now I get "INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined"

Hi All,

I had gone thru the same error and here is what I configured to fix the error:
The solution i did is:

1. Remove the entries from WEB.xml of taglib directive.
2. Remove the *.tld from WEB-INF folder if any because they already exists in 
struts-xxx.jar file.
3.	In JSP replace
i.	<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
ii.	<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
iii.	<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
With This
i.	<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" 
prefix="bean" %>
ii.	<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" 
prefix="html" %>
iii.	<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" 
prefix="logic" %>
4.	If Tomcat 7.0.11 complaints about this error:
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
e.	This means there are two or more entries of jstl (.tld) entries in jar 
file.
i.	Jstl-1.2.jar
ii.	Standard.jar
Both of these files contains c.tld, fmt.tld, c.tld, sql.tld
f.	Recommended to delete: standard.jar.

Thanks,
Dilip Parihar,
Santa Fe, NM, US




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org