This is working fine for me. I run often run jspc against the current app I'm working on and it works fine with > 500 jsp pages. We use a mixture of Struts Tags, JSTL, and a few custom tags.



--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]




----- Original Message ----- From: "Neuman, Ben J., A&M IRM" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Wednesday, April 06, 2005 9:20 AM
Subject: JSP Precompilation Errors



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





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to