Product: Confluence
Environment
| Operating System | |
|---|---|
| Affect Version/s | 2.5.8 |
| JVM | |
| Database | PostgreSQL |
| Application Server | Standalone |
Error Message
java.lang.NoClassDefFoundError: org/apache/log4j/PatternLayout
Symptom
Diagnostics/Test
Root Cause
Confluence some how missing this class: "org/apache/log4j/PatternLayout.class" which is a part of log4j library jar file.
Solution
Moving the log4j jar file from their WEB-INF/lib directory to their /common/lib directory.
