com.sun.faces.lifecycle.ELResolverInitPhaseListener.beforePhase

exception    

javax.servlet.ServletException: Servlet execution threw an exception


root cause    

java.lang.NoSuchMethodError: javax.faces.application.Application.getELResolver()Ljavax/el/ELResolver;
  org.apache.myfaces.el.VariableResolverToApplicationELResolverAdapter.resolveVariable(VariableResolverToApplicationELResolverAdapter.java:45)
  org.ajax4jsf.framework.ajax.AjaxContext.getCurrentInstance(AjaxContext.java:154)
  org.ajax4jsf.framework.renderer.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:76)
  org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
  org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:99)
  org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
  javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
 删除web-inf\lib\jsf-api.jar和jsf-impl.jar就好啦。

你可能感兴趣的:(sun,lifecycle,休闲,Faces,beforePhase)