Unable to invoke factory method in class class org.apache.logging.log4j.core.layout.JsonLayout for element JsonLayout
I suspect you are missing one of the Jackson dependencies.
You have jackson-core-asl, I think you need these three:
- com.fasterxml.jackson.core:jackson-core:jar:2.6.3
- com.fasterxml.jackson.core:jackson-databind:jar:2.6.3
- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.0
The ultimate source of truth for dependencies is the dependency tree of the Log4j 2 implementation module.
You may be able to get more details on the problem by setting <Configuration status="debug" ...
in your configuration.