`
icyheart
  • 浏览: 779495 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

com.sun.faces.lifecycle.ELResolverInitPhaseListener.beforePhase

    博客分类:
  • JSF
阅读更多
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就好啦。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics