java.lang.NoClassDefFoundError: javax/faces/context/FacesContext When Deploying Application to Standalone WebLogic Server

(Doc ID 1281009.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle JDeveloper - Version to [Release Oracle11g]
Information in this document applies to any platform.


When deploying an ADF Application developed on JDeveloper to the standalone WebLogic Server 10.3.3 environment, the java.lang.NoClassDefFoundError: javax/faces/context/FacesContext may be thrown.

javax.servlet.ServletException: javax/faces/context/FacesContext
        at javax.faces.webapp.FacesServlet.service(
Caused by: java.lang.NoClassDefFoundError: javax/faces/context/FacesContext
        at com.mycompany.util.ADFUtils.evaluateEL(
        at com.mycompany.bean.RegistrationBean.getLOVSelectedValue(
        at com.mycompany.bean.RegistrationBean.searchAccPacRegistrationNo(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(

This error does not occur in the WebLogic Integrated Server environment.




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms