My Oracle Support Banner

Unable to Deploying a Custom WebCenter Application into a Custom Managed WebLogic Server, Get Error: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet (Doc ID 1096595.1)

Last updated on OCTOBER 09, 2023

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 to 11.1.1.9.0 [Release 11g]
Information in this document applies to any platform.

Symptoms


When attempting to deploy a custom WebCenter application, the following error occurs:

java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet

  

Steps To Reproduce:

  1. Create a WebCenter Application in JDeveloper using the WebCenter template.

Deploy the application to a custom Managed Server on a WebCenter domain.
Here you should see the error in JDeveloper Log:

[10:22:11 AM] Deploying Application...
[10:22:15 AM] [Deployer:149191]Operation 'deploy' on application '<APPLICATION-NAME> [Version=V2.0]' is initializing on '<CUSTOM-MANAGED-SERVER>'
[10:23:04 AM] [Deployer:149193]Operation 'deploy' on application '<APPLICATION-NAME> [Version=V2.0]' has failed on '<CUSTOM-MANAGED-SERVER>'
[10:23:04 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application <APPLICATION-NAME> [Version=V2.0] on <CUSTOM-MANAGED-SERVER>.: Failed to load webapp: '<APPLICATION-NAME>'.
[10:23:04 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: '<APPLICATION-NAME>'
[10:23:04 AM] Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
[10:23:04 AM] See server logs or server console for more details.
[10:23:04 AM] weblogic.application.ModuleException: Failed to load webapp: '<APPLICATION-NAME>'
[10:23:04 AM] #### Deployment incomplete. ####
[10:23:04 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  

The WebLogic Server Administration Console shows the following errors:

An error ocurred during activation of changes, please see the log for details.
Failed to load webapp: '<APPLICATION-NAME>'
javax.faces.webapp.FacesServlet

  

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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