tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30482] New: - ERROR:JSP:_jspx_meth_bean_message_0:struts compile error
Date Thu, 05 Aug 2004 01:21:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30482>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30482

ERROR:JSP:_jspx_meth_bean_message_0:struts compile error

           Summary: ERROR:JSP:_jspx_meth_bean_message_0:struts compile error
           Product: Tomcat 5
           Version: 5.0.26
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: steve@cuppett.com


I encountered this problem trying to deploy a struts based application on JBoss
3.2.5 running the bundled Tomcat 5.0.26.  Was able to reproduce on 5.0.27. 
Basically, when deploying a WAR file, it appears the JSP compiler is having some
problems finding portions of the taglibs and/or message resources.  This
application will run on both Tomcat 4.1 and JBoss 3.2.3 which runs Tomcat 4.1. 
Have included the stacktrace here and will attach a sample project that can be
deployed to test any fixes.

Have encountered some inklings of this problem on various forums, etc.
http://www.junlu.com/msg/49694.html
http://www.junlu.com/msg/77969.html
http://forums.atlassian.com/thread.jspa?threadID=2372&tstart=0

However, they mention previous versions and it seems to be very strange that it
is happening again in the latter versions.

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 7 in the jsp file: /forms/loginForm.jsp
Generated servlet error:
/home/cuppett/jboss-3.2.5/server/all/work/jboss.web/localhost/_/org/apache/jsp/forms/loginForm_jsp.java:109:
_jspx_meth_bean_message_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.forms.loginForm_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
        if (_jspx_meth_bean_message_0(_jspx_th_html_form_0, _jspx_page_context))
            ^


An error occurred at line: 7 in the jsp file: /forms/loginForm.jsp
Generated servlet error:
/home/cuppett/jboss-3.2.5/server/all/work/jboss.web/localhost/_/org/apache/jsp/forms/loginForm_jsp.java:115:
_jspx_meth_bean_message_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.forms.loginForm_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
        if (_jspx_meth_bean_message_1(_jspx_th_html_form_0, _jspx_page_context))
            ^


An error occurred at line: 7 in the jsp file: /forms/loginForm.jsp
Generated servlet error:
/home/cuppett/jboss-3.2.5/server/all/work/jboss.web/localhost/_/org/apache/jsp/forms/loginForm_jsp.java:119:
_jspx_meth_html_text_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.forms.loginForm_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
        if (_jspx_meth_html_text_0(_jspx_th_html_form_0, _jspx_page_context))
            ^


An error occurred at line: 7 in the jsp file: /forms/loginForm.jsp
Generated servlet error:
/home/cuppett/jboss-3.2.5/server/all/work/jboss.web/localhost/_/org/apache/jsp/forms/loginForm_jsp.java:125:
_jspx_meth_bean_message_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.forms.loginForm_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
        if (_jspx_meth_bean_message_2(_jspx_th_html_form_0, _jspx_page_context))
            ^


An error occurred at line: 7 in the jsp file: /forms/loginForm.jsp
Generated servlet error:
/home/cuppett/jboss-3.2.5/server/all/work/jboss.web/localhost/_/org/apache/jsp/forms/loginForm_jsp.java:129:
_jspx_meth_html_password_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.forms.loginForm_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
        if (_jspx_meth_html_password_0(_jspx_th_html_form_0, _jspx_page_context))
            ^


An error occurred at line: 7 in the jsp file: /forms/loginForm.jsp
Generated servlet error:
/home/cuppett/jboss-3.2.5/server/all/work/jboss.web/localhost/_/org/apache/jsp/forms/loginForm_jsp.java:135:
_jspx_meth_html_submit_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.forms.loginForm_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
        if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, _jspx_page_context))
            ^
6 errors



	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
	org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
	org.apache.jsp.login_jsp._jspService(login_jsp.java:80)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

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


Mime
View raw message