My Oracle Support Banner

Web Application Cannot Deploy: java.lang.ClassNotFoundException: org.apache.log4j.Category (Doc ID 1334702.1)

Last updated on FEBRUARY 28, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.4 and later
Information in this document applies to any platform.
***Checked for relevance on 28-May-2013***


When attempting to deploy a web application on WLS 10.3.4, the following error occurs, even though there is a log4j-1.2.12.jar in WEB-INF/lib in the webapp already -

Caused By: java.lang.ClassNotFoundException: org.apache.log4j.Category
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at org.apache.commons.logging.impl.Log4jFactory.getInstance(
at org.apache.commons.logging.LogFactory.getLog(


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

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