You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/04/15 13:03:16 UTC

DO NOT REPLY [Bug 30482] ERROR:JSP:_jspx_meth_bean_message_0:struts compile error

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





--- Comment #7 from koenigworks9 <ko...@yahoo.es>  2009-04-15 04:03:14 PST ---

Yes, me too.
I have the same situation JBoss_3_2_5 with Apache Tomcat/5.0.26 and Struts 1.1:

2009-04-15 11:08:16,197 ERROR [org.apache.jasper.compiler.Compiler] Javac
exception 
Compile failed; see the compiler error output for details.
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)

2009-04-15 11:08:16,204 ERROR [org.apache.jasper.compiler.Compiler] Error
compiling file: /opt/HP/jboss02/jboss-3.2.5/.../index_jsp.java     [javac]
Compiling 1 source file

2009-04-15 11:08:16,227 ERROR [org.jboss.web.localhost.Engine]
StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 30 in the jsp file: /index.jsp
Generated servlet error:
/opt/HP/jboss02/jboss-3.2.5/.../index_jsp.java:132:
_jspx_meth_html_text_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in org.apache.jsp.index_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))
                  ^
    at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)


Found also other forums with the same problem and NO answer at all:
http://www.theserverside.com/discussions/thread.tss?thread_id=31373
http://markmail.org/message/a3effh4fz2fdmfiz#query:+page:1+mid:skmjzpw5dzoatf23+state:results

Investigating deep through the process (3 days of work) my conclusion is not an
application problem so don't change your code/config. The application works in
another server correctly, so it seems an incompatibility of the
instalation/application container version. Here reviewing, re-installing or
updating struts lib / struts config did not solve the problem.

It simply generates an incompatible java code from JSPs (I think its "jasper"
library that handles this thing). Later on in the process the class compiler
will claim an error blaming your struts, but this only a symptom.

My solution was moving on to an older version of jboss/tomcat that was
installed somewhere else, then everything worked again.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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