My Oracle Support Banner

NoClassDefFoundError: Org/apache/logging/log4j/core/lookup/ConfigurationStrSubstitutor After Applying Patch 12.2.1.4.211231 (Doc ID 2852362.1)

Last updated on MARCH 04, 2022

Applies to:

Oracle WebCenter Sites - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

I have applied the WebCenter Sites 12.2.1.4.211231 patch however, I am now getting this error on server start:

java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/lookup/ConfigurationStrSubstitutor
  at org.apache.logging.log4j.web.WebLoggerContextUtils.getWebLifeCycle(WebLoggerContextUtils.java:86)
  at org.apache.logging.log4j.web.Log4jServletContextListener.contextInitialized(Log4jServletContextListener.java:62)
  at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:719)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344)
  at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
  at com.oracle.classloader.PolicyClassLoader.findClass(PolicyClassLoader.java:398)
  at com.oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:371)
  at com.oracle.classloader.weblogic.LaunchClassLoader.loadClass(LaunchClassLoader.java:55)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
  at org.apache.logging.log4j.web.WebLoggerContextUtils.getWebLifeCycle(WebLoggerContextUtils.java:86)
  Truncated. see log file for complete stacktrace

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.