I have a struts web-app (Struts 1.2.4, J2EE 1.3, Servlet 2.3, JSP 1.2) in
which the JSPs fail to compile. All of the exceptions are of the flavor
"cannot be applied to":
"_jspx_method_some_tag_#(someTag, java.servlet.PageContext) in
org.apache.jsp.xxx.some_jsp cannot be applied to (org.apache.SomeTag,
javax.servlet.jsp.PageContext)"
Here is one exception word for word and the associated JSP:
D:\dev\HRMS\Modules\WebModule\build\generated\src\org\apache\jsp\common\mess
agePane_jsp.java:105:
_jspx_meth_bean_write_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.Pa
geContext) in org.apache.jsp.common.messagePane_jsp cannot be applied to
(org.apache.struts.taglib.html.MessagesTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_bean_write_0(_jspx_th_html_messages_0,
_jspx_page_context))
............................................................................
<%@ taglib uri="/struts-bean" prefix="bean" %>
<%@ taglib uri="/struts-html" prefix="html" %>
<%@ taglib uri="/struts-logic" prefix="logic" %>
<div id="messagePane">
<logic:messagesPresent message="true">
<table cellspacing="1" cellpadding="1" border="0" width="100%">
<tr>
<td>
<table width="100%" align="center" border=0>
<tr>
<td><html:messages id='message' message='true'>
<bean:write name="message"/>
</html:messages>
</td>
</tr>
</table>
</td>
</tr>
</table>
</logic:messagesPresent>
</div>
............................................................................
I have a suspicion that this is a classpath problem and not related to
Struts directly, however, any help would be greatly appreciated.
Thanks!
Ben