My Oracle Support Banner

WebLogic Applications With JSF 2.1.6 Throws Error in WebLogic 12.2.1.0.0 -"java.lang.ClassCastException: com.oracle.injection.integration.jsf.WeblogicFacesConfigResourceProvider cannot be cast to com.sun.faces.spi.ConfigurationResourceProvider" (Doc ID 2217297.1)

Last updated on DECEMBER 22, 2023

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Applications with jsf 2.1.6 deploys fine, but throws error while running in WebLogic server 12.2.1.0.0


There is a flag in the deployment weblogic.xml file (prefer-web-inf-classes=true ) that is supposed to prevent this (and does on WebLogic 10.3.5 and 10.3.6). Same setting no longer works in this version of WebLogic

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
References


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