论坛首页 入门技术论坛

com.sun.faces.lifecycle.ELResolverInitPhaseListener.beforePhase

浏览 2106 次
该帖已经被评为新手帖
作者 正文
   发表时间:2010-01-06  
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