java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationConte xt(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hello, if I run the sample application inside a servlet 2.4/jsp 2.0 container, the swf-sellitem-jsf sample application won't start. The original error is a ClassNotFoundException java.lang.NoClassDefFoundError: javax/el/ELResolver After adding the el-api.jar to the WEB-INF/lib directory i get the following error java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationConte xt(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; at org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) Also if i use the jsf ri implementation, the application still won't work. I get the follwoing exception if i remove the myfaces implementation (remove the jar and the listener inside the web.xml) and replace them with a jsf 1.2 RI. javax.servlet.ServletException: javax/servlet/jsp/tagext/JspIdConsumer org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428) com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444) com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) The Class JspIdConsumer is avaiable in the JSP2.1 Spec. Is there any real need for JSF 1.2 inside this sample application ? I think JSF 1.1 would be good enough for sellitem-jsf.
    via by Agim Emruli,
  • Hello, if I run the sample application inside a servlet 2.4/jsp 2.0 container, the swf-sellitem-jsf sample application won't start. The original error is a ClassNotFoundException java.lang.NoClassDefFoundError: javax/el/ELResolver After adding the el-api.jar to the WEB-INF/lib directory i get the following error java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationConte xt(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; at org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) Also if i use the jsf ri implementation, the application still won't work. I get the follwoing exception if i remove the myfaces implementation (remove the jar and the listener inside the web.xml) and replace them with a jsf 1.2 RI. javax.servlet.ServletException: javax/servlet/jsp/tagext/JspIdConsumer org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428) com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444) com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) The Class JspIdConsumer is avaiable in the JSP2.1 Spec. Is there any real need for JSF 1.2 inside this sample application ? I think JSF 1.1 would be good enough for sellitem-jsf.
    via by Agim Emruli,
  • JSF1.2 on Weblogic 9.2
    via by 374962,
  • Erro com myfaces 1.2
    via by George Queiroz,
  • JSF1.2 on Weblogic 9.2 | Oracle Community
    via by Unknown author,
  • [MYFACES-1693] Make JSP 2.1 optional - ASF JIRA
    via by Unknown author,
  • JSF 1.2 on Weblogic 9.2
    via by 843844,
  • db:: 5.26::log4j error when starting Tomcat a7
    via by Unknown author,
    • java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationConte xt(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; at org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)

    Users with the same issue

    Unknown visitor1 times, last one,