I have a trade application which was using struts version 1.2.1. Now I upgraded it to 1.2.7 with the proper upgrade libraries. I deploy it in weblogic as an ear file which in turn has trade.war file. The login.jsp throws an error
/common/taglibs.jsp(3): Error in using tag library uri='http://struts.apache.org/tags-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.CheckboxTag' has no setter method corresponding to TLD declared attribute 'errorKey', (JSP 1.1 spec, 5.4.1) probably occurred due to an error in /common/taglibs.jsp line 3: <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
My taglibs.jsp just have references to the tlds as below <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic">
I checked the struts.jar and tlds, in which the checkboxtag has setter methods. Is it something to do with the jsp 1.1 version which the weblogic 8.1 is supporting?Please reply
Verify that an earlier version of the struts.jar or commons jars is not being loaded by another class loader. I'm not that familiar with WebLogic, but I'm sure it has common /lib directories where you put jar files that apply to all applications. Check these areas to make sure that one of the above jar files isn't there. If it is, remove it.