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

Spring JIRA | Agim Emruli | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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.

    Spring JIRA | 10 years ago | Agim Emruli
    java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationConte xt(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
  2. 0

    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.

    Spring JIRA | 10 years ago | Agim Emruli
    java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationConte xt(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
  3. 0

    JSF1.2 on Weblogic 9.2

    Oracle Community | 8 years ago | 374962
    java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Erro com myfaces 1.2

    Google Groups | 10 years ago | George Queiroz
    java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
  6. 0

    JSF1.2 on Weblogic 9.2 | Oracle Community

    oracle.com | 1 year ago
    java.lang.NoSuchMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.servlet.jsp.JspFactory.getJspApplicationConte xt(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;

      at org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces()
    2. Impl
      StartupServletContextListener.contextInitialized
      1. org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102)
      2. org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57)
      2 frames
    3. Glassfish Core
      StandardContext.listenerStart
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
      1 frame