Apache Log4j Core Maven Dependency

This page gives you a quick reference to get Apache Commons BeanUtils dependency for Maven or Gradle projects. You can also download the Apache Commons BeanUtils jar dependency, the link given at the "Download JAR File" section.

The Apache Log4j Implementation.

Apache Log4j Core Maven Dependency

Copy below Apache Log4j Core maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.12.1</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

Apache Log4j Core Gradle Dependency

Copy below apache Log4j Core Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.12.1'

Download JAR File

Check for Latest Release

Reference




Comments