0 Replies Latest reply on Jan 18, 2006 6:28 AM by Shalini Kumar

    org.apache.jasper.JasperException: Unable to compile class f

    Shalini Kumar Newbie

      I am getting the following exception while running my application in jboss 4.0.2 however sometime in jboss4.0.1sp1 this exception does not come
      ann it works fine could any one tell me why this happens

      the exception is as follows

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

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

      Generated servlet error:
      C:\New Folder\jboss-4.0.1sp1\server\SOFA1\work\jboss.web\localhost\scheduler\org\apache\jsp\jsp\Modify_jsp.java:135: _jspx_meth_html_base_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Modify_jsp cannot be applied to (org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_html_base_0(_jspx_th_html_html_0, _jspx_page_context))
      ^


      Generated servlet error:
      C:\New Folder\jboss-4.0.1sp1\server\SOFA1\work\jboss.web\localhost\scheduler\org\apache\jsp\jsp\Modify_jsp.java:150: _jspx_meth_html_errors_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Modify_jsp cannot be applied to (org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_html_errors_0(_jspx_th_html_html_0, _jspx_page_context))
      ^


      Generated servlet error:
      C:\New Folder\jboss-4.0.1sp1\server\SOFA1\work\jboss.web\localhost\scheduler\org\apache\jsp\jsp\Modify_jsp.java:174: _jspx_meth_bean_write_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Modify_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))
      ^


      Generated servlet error:
      C:\New Folder\jboss-4.0.1sp1\server\SOFA1\work\jboss.web\localhost\scheduler\org\apache\jsp\jsp\Modify_jsp.java:449: _jspx_meth_html_submit_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Modify_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))
      ^
      4 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.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
      org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
      org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
      org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.