2 Replies Latest reply on Sep 17, 2005 6:10 AM by frank sun

    Problem running JSF application in JBoss

    David Jones Newbie

      I'm trying to deploy and run the JCatalog example application (http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html) in JBoss 3.2.5. I've already tried the application in standalone Tomcat 5.0.25 with no problems. Deploying to JBoss gives no errors, but when I trye to run the app, I get compile errors for the JSP pages, indeed I get an error for every JSF tag in the pages. A typical error is ..

      An error occurred at line: 10 in the jsp file: /front.jsp
      Generated servlet error:
      C:\java\jboss-3.2.5\server\default\work\jboss.web\localhost\catalog\org\apache\jsp\front_jsp.java:149: _jspx_meth_f_subview_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.front_jsp cannot be applied to (com.sun.faces.taglib.jsf_core.ViewTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_f_subview_0(_jspx_th_f_view_0, _jspx_page_context))

      Line 10 in the front.jsp page is <f:view> .. the first JSF tag in the page. Does anybody have any idea why I'm having problems in JBoss, when the JSP pages compile fine in the standalone Tomcat?