1 Reply Latest reply on Oct 4, 2004 7:26 AM by Richard Lawrence

    Unable to compile JSP Error.

    dheerajchugh Newbie


      I have downloaded JBoss 4.0 and i am trying to deploy the applications which i had running on Weblogic for a while. But i am getting wierd error message even for my index page, which even does not have any database connectivity, it is a simple JSP with out.println messages.

      I am running it using standard configuration.

      I get errors like this:-

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

      Generated servlet error:
      C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\geam-blank1.3\org\apache\jsp\index_jsp.java:136: _jspx_meth_html_base_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.HtmlTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_html_base_0(_jspx_th_html_html_0, _jspx_page_context))

      Generated servlet error:
      C:\jboss-4.0.0\server\standard\work\jboss.web\localhost\geam-blank1.3\org\apache\jsp\index_jsp.java:162: _jspx_meth_html_link_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.HtmlTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_html_link_0(_jspx_th_html_html_0, _jspx_page_context))

      I also tried putting struts-example.war file and that ran successfully. Am i doing something wrong while configuring JBoss ? Any ideas or suggestions.