My Oracle Support Banner

java.lang.NoClassDefFoundError: javax/faces/context/FacesContext When Deploying Application to Standalone WebLogic Server (Doc ID 1281009.1)

Last updated on AUGUST 21, 2019

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 <your classpath>.<your method name>(<your class name>.java:194)
        at <your classpath>.<your method name>(<your class name>.java:721)
        at <your classpath>.<your method name>(<your class name>.java:942)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(

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




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.