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 AUGUST 08, 2018

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.
Checked for relevance on 29-Sep-2014

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 'AppTest1 [Version=V2.0]' is initializing on 'WLS_Cust'
[10:23:04 AM] [Deployer:149193]Operation 'deploy' on application 'AppTest1 [Version=V2.0]' has failed on 'WLS_Cust'
[10:23:04 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application AppTest1 [Version=V2.0] on WLS_Cust.: Failed to load webapp: 'AppTest1'.
[10:23:04 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'AppTest1'
[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: 'AppTest1'
[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: 'AppTest1'
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.