java.lang.NoSuchMethodError: org.icefaces.util.EnvUtils.getSafeRequest(Ljavax/faces/context/FacesContext;)Ljavax/servlet/http/HttpServletRequest;

Icesoft | comlong | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error when connect to Liferay by simplest way

    Icesoft | 5 years ago | comlong
    java.lang.NoSuchMethodError: org.icefaces.util.EnvUtils.getSafeRequest(Ljavax/faces/context/FacesContext;)Ljavax/servlet/http/HttpServletRequest;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.icefaces.util.EnvUtils.getSafeRequest(Ljavax/faces/context/FacesContext;)Ljavax/servlet/http/HttpServletRequest;

      at org.icefaces.ace.component.fileentry.FileEntryPhaseListener.beforePhase()
    2. org.icefaces.ace
      FileEntryPhaseListener.beforePhase
      1. org.icefaces.ace.component.fileentry.FileEntryPhaseListener.beforePhase(FileEntryPhaseListener.java:111)
      1 frame
    3. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95)
      3. com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
      4. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
      4 frames
    4. Liferay Faces Bridge
      GenericFacesPortlet.doView
      1. org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:391)
      2. org.portletfaces.bridge.GenericFacesPortlet.doView(GenericFacesPortlet.java:181)
      2 frames
    5. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
      2. javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
      2 frames
    6. Liferay Portal Service
      PortletServlet.service
      1. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)
      2. com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
      3. com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    8. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
      5 frames
    9. Liferay Portal Service
      InvokerPortletImpl.invokeRender
      1. com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:638)
      2. com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:723)
      2 frames