'Issues with the latest log4j2 core libraries
Due to the log4j1 security issues, we're upgrading to the latest log4j2 libraries (2.17.0 in our case). We add the following to our 'gradle.build' dependency segment compile 'org.apache.logging.log4j:log4j-api:2.17.0' run the script, all is well. Now I add compile 'org.apache.logging.log4j:log4j-core:2.17.0' run the script, doesn't compile and I get Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
The libraries are pulled in from 'mavenCentral'
So, I've also tried to pull the libraries in from the local file system like this
compile files('libs/log4j-api-2.17.0.jar') compile files('libs/log4j-core-2.17.0.jar')
but still get the 'heap' error.
Any help would be greatly appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
