My Oracle Support Banner

Deployment Error "java.lang.ClassNotFoundexception: javax.faces.webapp.FacesServlet" while Deploying a WebLogic Portal (WLP) Application (Doc ID 1198563.1)

Last updated on JULY 23, 2018

Applies to:

Oracle WebLogic Portal - Version 10.3.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to deploy a WebLogic Portal (WLP) application to a cluster the following error occurs:

com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
17/08/2010 8:57:19 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
<17/08/2010 9:05:18 AM EST> <Warning> <J2EE> <BEA-160188> <Unresolved WebApp library references defined in weblogic.xml, of module 'SessionWeb.war' [Extension-Name: content-management-faces-wes-web-lib, Specification-Version: 10.3.2, Implementation-Version: 10.3.2, exact-match: false], [Extension-Name: content-management-web-lib, Specification-Version: 10.3.2, Implementation-Versn-Version: 10.3.2, exact-match: false], [Extension-Name: wlp-lookandfeel-web-lib, Specification-Version: 10.3.2, Implementation-Version: 10.3.2, exact-match: false], [Extension-Name: wlp-reste: wlp-framework-common-web-lib, Specification-Version: 10.3.2, Implementation-Version: 10.3.2, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, Implementation-Version:
<17/08/2010 9:08:23 AM EST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'SessionRep'.>
<17/08/2010 9:08:23 AM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'SessionWeb'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:378)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)


The issue occurs after the following steps:


1) Build and export a WLP application with project facets, Sample Framework Components and Sample look and Feels selected
2) Deploy the application to a clustered WLP domain

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
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.