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

Last updated on JULY 26, 2017

Applies to:

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

Symptoms

When deploying an ADF Application developed on JDeveloper 11.1.1.3.0 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(FacesServlet.java:277)
...
Caused by: java.lang.NoClassDefFoundError: javax/faces/context/FacesContext
        at com.mycompany.util.ADFUtils.evaluateEL(ADFUtils.java:194)
        at com.mycompany.bean.RegistrationBean.getLOVSelectedValue(RegistrationBean.java:721)
        at com.mycompany.bean.RegistrationBean.searchAccPacRegistrationNo(RegistrationBean.java:942)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
...


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

Changes

 

Cause

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