tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neuman, Ben J., A&M IRM" <bjneu...@hq.afis.osd.mil>
Subject JSP compilation errors
Date Wed, 06 Apr 2005 13:58:43 GMT
I have a web-app (J2EE 1.3, Servlet 2.3, JSP 1.2) that builds and deploys
successfully on Tomcat (5.0.28). However, when pre-compiling all JSPs,
countless Exceptions are thrown, all of which are of the flavor "cannot be
applied to". I realize this must be a classpath problem when compiling,
however, I can not find it. I am hoping someone has seen this before.

"_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 error word for word and the associated JSP:

D:\dev\HRMS\Modules\WebModule\build\generated\src\org\apache\jsp\common\mess
agePane_jsp.java:107:
_jspx_meth_jstl_out_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.Page
Context) in org.apache.jsp.common.messagePane_jsp cannot be applied to
(org.apache.struts.taglib.html.MessagesTag,javax.servlet.jsp.PageContext)

............................................................................

<%@ 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>

............................................................................
.......

This is a struts app (v1.2.4) and I do use JSTL v1.0.

Thanks! 

Ben


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message